[PATCH OLK-5.10 V3 35/45] selftests/sgx: Improve error detection and messages