cmMakefile: Dedupe languages when enabling them
cmMakefile::EnableLanguage()
now deduplicates the languages argument and emits an author warning listing the languages that were defined multiple times in a single call.
Also implements #23596 (comment 1209838)
Fixes: #23596 (closed)
Topic-rename: enable_language-deduplicate
Edited by Brad King