SERVER-16661 fix leak in GlobalCursorIdCache

Closes #891

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>