x86 Linux/ptrace: fix offsetof usage in C++ mode