[PATCH 5.11 157/601] serial: stm32: add FIFO flush when port is closed