[PATCH v10 04/16] arm64/ptrace: Refactor syscall_trace_enter/exit()