Fix compiler warning implicit declaration

* src/git2r_error.c: Add #include <Rinternals.h> to fix implicit
  declaration of function ‘Rf_error’

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