FindBoost: Restore finding without CXX language enabled
Since !2579 (merged) we run the internal _Boost_COMPILER_DUMPVERSION
macro on all UNIX platforms. Teach the macro to tolerate missing CMAKE_CXX_COMPILER_VERSION
, which occurs when the CXX language is not enabled.
Fixes: #18624 (closed)