cmake: --list=presets=[type] doesn't generate incorrect warnings

Fixes #23407
38 jobs for !7164 with correct_list-presets_parsing in 39 minutes and 1 second (queued for 4 seconds)
latest merge request