[OpenMP] Fix the test issue when libomp
is built as a static library
#138744
This job was skipped
Loading
libomp
is built as a static library
#138744