[PATCH 5.10 142/530] serial: stm32: fix tx_empty condition