More specific check of git2r_arg_check_* return value

* src/*.c: Signal error if the return value from git2r_arg_check_* !=
  0.