Merge pull request #4509 from libgit2/ethomson/odb_alloc_error odb: error when we can't alloc an object