Template rec_prepare_syscall on the architecture.
Reject negative syscall numbers in rec_prepare_syscall.