[flang-rt] Fix missing omp_lib symbols in static runtime archive (#220821)
When both FLANG_RT_ENABLE_STATIC and FLANG_RT_ENABLE_SHARED are enabled,
runtime sources are built through an intermediate object library. Nested
$<TARGET_OBJECTS:libomp-mod> in that object library does not reliably
end up in libflang_rt.runtime.a,so omp_lib Fortran module symbols are
missing from the static archive. This causes undefined reference errors
for symbols defined in omp_lib_impl.F90 file.
Attached libomp-mod object files directly to flang_rt.runtime.static and
flang_rt.runtime.shared instead of routing them through
obj.flang_rt.runtime.
Assisted by Cursor to find the root cause.