tracing: Convert event tracing code to use NR_syscalls