Handle packed peeled objects without trailing newlines

Fixes #1262
Merge pull request #1267 from libgit2/no-newline

Handle packed peeled objects without trailing newlines