[PATCH openEuler-5.10 19/99] serial: stm32: prevent TDR register overwrite when sending x_char