Added an error when AUTOUIC is given files of the same name.

Closes #23523
28 jobs for !7284 with autouic_path_correction in 5 minutes and 52 seconds (queued for 4 seconds)
latest merge request