Add thread_info system call
Add header with defines for the various system syscall functions