ath79: ag71xx: fix error handling for of_get_phy_mode