More argument checks in git2r_blob C functions