errors: Fix format of some error messages
Merge pull request #1846 from libgit2/ntk/fix/format

errors: Fix format of some error messages