VERIFY_INTERFACE_HEADER_SETS: Fall back to global languages
requested to merge kyle.edwards/cmake:verify-interface-header-sets-interface-library-source-language into master
If a target doesn't have any source files, fall back to the global list of enabled languages to determine the language of the header file to verify.
Fixes: #23774 (closed)
Backport: release