Blame fixes

While hacking on buffer-blame for https://github.com/libgit2/libgit2sharp/pull/552, I found some issues.