[fix] memheap using assertions before scheduler starts.
[fix] memheap using assertions before scheduler starts.

RT-Thread/rt-thread,hezlog/rt-thread,nongxiaoming/rt-thread,nongxiaoming/rt-thread,nongxiaoming/rt-thread,nongxiaoming/rt-thread,nongxiaoming/rt-thread,RT-Thread/rt-thread,hezlog/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,RT-Thread/rt-thread,hezlog/rt-thread,hezlog/rt-thread,nongxiaoming/rt-thread,hezlog/rt-thread,RT-Thread/rt-thread,nongxiaoming/rt-thread,hezlog/rt-thread,RT-Thread/rt-thread,hezlog/rt-thread