[PATCH 4.20 056/117] uart: Fix crash in uart_write and uart_put_char