[PATCH v2] serial: core: only stop transmit when HW fifo is empty