[PATCH V3 12/13] selftests/sgx: Enable multiple thread support