cparser: refactor ctype module & add function pointer support

* refactor
  * move cparser related headers into userspace/ffi folder
  * ctype stack related functions are moved into a separate module
  * introduce stack frame to help parsing function pointers
* add function pointer support