[PATCH V2 14/15] selftests/sgx: Enable multiple thread support