gpio: stm32_gpio: Fix warnings when compiling with W=1