Fix compiler warning (uninitialized) in git2r C code

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