drivers: gpio: Nios-II: Fix condition on gpio_nios2_config_oput_port()
drivers: gpio: Nios-II: Fix condition on gpio_nios2_config_oput_port()

(flags & GPIO_DIR_IN) is always zero because GPIO_DIR_IN is 0, then
we have to use GPIO_DIR_MASK.

Signed-off-by: Vitor Massaru Iha <ddd80347cc894536655615ccf7805ebc23683866@massaru.org>

zephyriot/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,punitvara/zephyr,galak/zephyr,zephyrproject-rtos/zephyr,kraj/zephyr,zephyriot/zephyr,galak/zephyr,ldts/zephyr,Vudentz/zephyr,kraj/zephyr,finikorg/zephyr,explora26/zephyr,finikorg/zephyr,Vudentz/zephyr,zephyriot/zephyr,mbolivar/zephyr,ldts/zephyr,ldts/zephyr,zephyriot/zephyr,nashif/zephyr,punitvara/zephyr,nashif/zephyr,kraj/zephyr,explora26/zephyr,mbolivar/zephyr,explora26/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,finikorg/zephyr,galak/zephyr,mbolivar/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,nashif/zephyr,finikorg/zephyr,ldts/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,kraj/zephyr,finikorg/zephyr,mbolivar/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,punitvara/zephyr,galak/zephyr,explora26/zephyr,punitvara/zephyr,nashif/zephyr,mbolivar/zephyr,zephyriot/zephyr,kraj/zephyr,GiulianoFranchetto/zephyr