Fix bcm47xx GPIO dirin/dirout API return codes.