Autorcc: Use custom_targets for multi configuration generators

It is not possible to depend on per configuration files,
therefore we have to check on every build which rcc output
files are already present.  To achieve this we always use
custom targets for the rcc command which are run on every build.

Closes #18006
33 jobs for autogen_autorcc_config_change