Add cplusplus initialization for ARMCC; Fix printf issue in _sys_write.