x86/entry/64/compat: Migrate the body of the syscall entry to C