ptrace/x86: cleanup ptrace_set_debugreg()