[OpenMP] Fix the test issue when libomp
is built as a static library
#104610
Loading
libomp
is built as a static library
#104610