[DeviceDrivers] Fix compiling warning.
[libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc.
[libc] Fix system issue when use msh and make code cleanup.