[tip: x86/sgx] selftests/x86: Add a selftest for SGX