[PATCH 3.16 053/202] uart: Fix crash in uart_write and uart_put_char