rk: uncompress.h: add debug_uart.h and support timeout on putc