serial: stm32: fix a recursive locking in stm32_config_rs485