Porting semihost with system command from rtenv

TODO:
1. Refine host call. The latest rtenv semihost call blocks on
   calling host, used old version instead of.
2. Improve system command syntax so that it can accept parameters