ptrace: change signature of arch_ptrace()