Add uart_getc() function in uart driver

This is a low level function that get char in uart driver

Signed-off-by: peter <peter@metanoia-comm.com>