Fixed several warnings in Libgit2.hs