SERVER-16661 fix leak in GlobalCursorIdCache

@benety can you merge this after the post release bump.

https://jira.mongodb.org/browse/SERVER-16661