drivers/gpio: stm32: Return errors on not supported config
drivers/gpio: stm32: Return errors on not supported config

Following configuration options are not supported by STM32
gpio driver:
-GPIO_INT_LEVEL
-GPIO_POL_INV
Return an error when one of these is requested.

Fixes #12766

Signed-off-by: Erwan Gouriou <de4d967452b83bb0e37525652734e7d9163b6a4c@linaro.org>

finikorg/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,galak/zephyr,explora26/zephyr,Vudentz/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,nashif/zephyr,Vudentz/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,explora26/zephyr,ldts/zephyr,finikorg/zephyr,galak/zephyr,Vudentz/zephyr,galak/zephyr,GiulianoFranchetto/zephyr,explora26/zephyr,zephyrproject-rtos/zephyr,Vudentz/zephyr,nashif/zephyr,nashif/zephyr,ldts/zephyr,ldts/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,explora26/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,galak/zephyr,ldts/zephyr,galak/zephyr