[OpenMP] Fix the test issue when `libomp` is built as a static library (#113522)

GitOrigin-RevId: 5d07162bba0648f5a5733039a7795eb7e9913863
1 file changed