[NUCLEO_F103RB] Serial interrupt fixes

- use TC flag instead of TXE for TX interrupt
- clear interrupt flags to prevent possible interrupt storm