Return GIT_OK or GIT_ERROR from git2r C code argument checks

* src/git2r_arg.c: Use GIT_OK and GIT_ERROR instead of 0 and -1 to
  improve readability.

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