net: mdio: switch to using gpiod_get_optional()