[flang] Fix test after 4078afc6d23e25df6baedad61b224ef86a94d42f

This tests requires the OpenMP runtime to be present, but the way that
the lit config detects it fails when "openmp" is added to RUNTIMES
instead of PROJECTS. This caused the tests to be skipped as unsupported
in local and upstream tests.

The actual bug was a missing word in the message, and putting the check
at the wrong line.

GitOrigin-RevId: 1334c034a73b7bf8a7af08be1c33d24a58127c47
diff --git a/test/Semantics/OpenMP/clause-validity01.f90 b/test/Semantics/OpenMP/clause-validity01.f90
index 74f154b..21b99cb 100644
--- a/test/Semantics/OpenMP/clause-validity01.f90
+++ b/test/Semantics/OpenMP/clause-validity01.f90
@@ -342,8 +342,8 @@
   a = 1.0
   !ERROR: COPYPRIVATE clause is not allowed on the END WORKSHARE directive
   !$omp end workshare nowait copyprivate(a)
+  !ERROR: NOWAIT clause is not allowed on the OMP WORKSHARE directive, use it on OMP END WORKSHARE directive 
   !$omp workshare nowait
-  !ERROR: NOWAIT clause is not allowed on the WORKSHARE directive, use it on OMP END WORKSHARE directive
   !$omp end workshare
   !$omp end parallel