[NEWLIB] Added support for stdio and malloc() apis.