CMakeDetermineCompilerId: Fix invalid escape sequences

Fixes #21671.
4 jobs for vs_cuda_escape
Status Job ID Name Coverage
  External
passed cdash

passed ghostflow-check-master

passed ghostflow-check-release

passed cdash