ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth