cmake: Add --ignore-eol option to `-E compare_files` command

Fixes: #13007
2 jobs for issue-13007-compare_files-line-endings
Status Job ID Name Coverage
  External
passed ghostflow-check-master

passed ghostflow-stager