Starting with OpenMP 5.0 the runtime should provide this function regardless of OMPT support. Therefore, we have one OMPT test, that does not "REQUIRES: ompt". But the function is only available if built with LIBOMP_OMP_VERSION=50. This test fails if the runtime is built with a lower version number.
This patch introduces the OpenMP version as a test feature and adds the REQUIRES line to the test.