Check whether the main llvm directory exists adjacent to the
openmp directory (when building from the monorepo, this is always
the case; if building from a separate tarball it won't be found).
If found, include the AddLLVM cmake module, which contains
functions such as add_lit_testsuite.
Use add_lit_testsuite instead of add_custom_target, and
configure_lit_site_cfg instead of the plain configure_file,
if available.
By using configure_lit_site_cfg, it includes lit.site.cfg in the
generated llvm-lit script, which allows pointing llvm-lit directly
at individual tests, instead of needing to point it at the generated
test directory in the build directory (where one can't easily run
individual tests).
This allows investigating and rerunning individual tests without
needing to run the full testsuite via "check-openmp".
This is similar to what other runtime subprojects such as libcxx
did (before libcxx entirely removed support for building standalone).
If openmp is built via the main llvm-project/runtimes directory,
that directory provides the llvm-lit script.
If building outside of the main llvm build, it's still necessary
to provide the FileCheck and "not" executables for running the
tests though.