syscall: Don't use PtraceRegs if it is not defined.