Change error to Rf_error in git2r C code

* src/*.c: Change the call to the error function to Rf_error so it's
  clear in the code that is the R error function that is called.