Update libgit2 source code (e1c4429)

* Update libgit2 source code to commit
  e1c4429038d9b8f260edcc17c6d7ec03959ad563

* Apply patches to pass 'R CMD check git2r'

Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>