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
Merge pull request #207 from rowanj/walkPerformance

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