Add newlib C support.
1. memory allocation
2. printf to uart0

Signed-off-by: gogojesse <gogojesseco@gmail.com>