Use long constant in expression computing git version

Low risk change that silences a Coverity warning.
Don't use regular expression replacer for fixed string in git version parsing

Removing "msysgit." from the version string does not require the single 
character wildcard at the end of the string.