Move typically true check for static syscall out of syscall_thread_enter/exit functions into an inline.
Prefix original functions with an _.
According to ministat this gives roughly a 4% speedup when calling getuid()
in a loop (syscall_timing benchmark found in tools/tools).
I was considering getting rid of 'td' argument as well as it is unused.