ExternalProject: Default CMAKE_INSTALL_PREFIX to INSTALL_DIR

The default CMake configure command never set an install prefix, so
external projects installed to /usr/local rather than the INSTALL_DIR
the module already reserves. Add policy CMP0225 to pass it by default;
an explicit prefix from the caller still takes precedence.

Fixes: #27050
35 files changed