pinctrl: stm32: fix bad location of gpiochip_lock_as_irq