Fix the syscall number setting mechanism on ARM.

On ARM, the PTRACE_SET_SYSCALL request is required to change effectively
the syscall number during a ptrace-stop.  Moreover the syscall number
has to be valid (i.e. it can't be -2).

Reported-by: Corbin Champion <corbinlc@gmail.com>