x86/sgx: Add ptrace() support for the SGX driver