GCC doesn't support -fopenmp-version, causing test failure if the compiler used
for testing is GCC.
GCC's OpenMP 5.2 support is very limited yet. Disable those tests requiring 5.2
feature for GCC as well.
We might want to take a look at all libomp tests and mark those tests that
don't support GCC yet.