Unload git2r

* R/git2r.r (.onUnload): Add unload hook to unload DLL.

* src/git2r.c (R_unload_git2r): Release libgit2 resources.

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