macb: fix mdiobus_scan() error check