move mainthread stack initization out of kp_newthread

This will make kp_newthread be a little more faster.

Signed-off-by: zhangwei(Jovi) <jovi.zhangwei@gmail.com>