x86: convert to asm-generic ptrace.h