[PATCH 5.12 171/677] serial: stm32: fix tx_empty condition