cmGlobalNinjaGenerator: escape `:` in module names

Not all filesystems support `:` in the name, so replace it with `-`. As
`-` is not otherwise allowed in module names anyways, there is no risk
of conflict.
1 file changed