Link against Threads using PRIVATE scope, instead of PUBLIC. Reason: it imposes a transitive dependency on library users. If Threads could not be found this could cause a link error. The issue would manifest, if omptest is used via find_package. Addresses issues with previous PR https://github.com/llvm/llvm-project/pull/185930