[PATCH openEuler-5.10 41/90] selftests/sgx: Use getauxval() to simplify test code