Two improvements:
WT-12153 Reduce overhead of cursor caching
WT-12567 Add configuration compilation to WT_SESSION.open_cursor