GTEnumerator; don't convert an OID to a SHA just to get an OID

Saves ~15% runtime when walking a large tree (linux kernel)

Improvement for libgit2/objective-git#187