Improve Makefile

* (sync_libgit2): Update target to indicate potential lines where
  printf should be replaced with Rprintf

* (check): Add target to build and check package
Fix unintialized error value in git2r_odb_hashfile