Fixed parameter validation for gpiopin_configure/gpiopin_configure_alt