mxs_gpio: fix the handling in gpio_direction_output()