export git_reference__alloc
Merge pull request #1453 from ethomson/refdb_export

Properly GIT_EXPORT git_reference__alloc