MinGW: Fix regression when windres is not found
The fix in !7574 (merged)
incorrectly listed two entries in CMAKE_RC_COMPILER_INIT
, which is
only meant to have one value. Revise the logic to support multiple
platform-specific names for the Windows Resource Compiler while still
only using one name as the fallback when it is not found.
Fixes: #24190 (closed)
Issue: #23841 (closed)
Backport: release