This changes the default value of llvm::lto::Config::UseNewPM to be the
value of the CMake variable ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER, rather
than always false.
So anybody building with -DENABLE_EXPERIMENTAL_NEW_PASS_MANAGER=ON will
now use the new pass manager via these interfaces. This matches Clang.
clang-tidy: error: 'plugin-api.h' file not found [clang-diagnostic-error]
not useful