Fix unintialized error value in git2r_odb_hash
Add target valgrind and check_valgrind in Makefile