Several runtime entry points have not been tested from non-OpenMP threads. This
adds tests to an existing testcase. While at it, the testcase was reformatted
Patch provided by Simon Convent
Differential Revision: https://reviews.llvm.org/D48124
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@336087 91177308-0d34-0410-b5e6-96231b3b80d8