create_test_sourcelist: Add support for more special characters in paths Use `cmSystemTools::MakeCidentifier` to robustly create a valid function name to which the test path maps. Fixes: #23855