[PATCH v5 1/3] selftests/x86: Use getauxval() to simplify the code in sgx