Change return value on error to -1 in git2r_arg_check_* functions

* src/git2r_arg.c: Changed return value on error to -1 from 1 to be
  consistent with negative return values on error in libgit2.