Merge pull request #947 from arrbee/public-error-set Make giterr_set_str() and giterr_set_oom() public APIs