[PATCH 324/552] serial: stm32: fix transmit_chars when tx is stopped