tracing: Change syscall_*regfunc() to check PF_KTHREAD and use for_each_process_thread()