[PATCH openEuler-1.0-LTS 17/21] serial: 8250: Fix serial8250_tx_empty() race with DMA Tx