[PATCH 16/55] serial: uartps: Add a timeout to the tx empty wait