config: set errno in numeric git_parse_* functions