Fix custom collators with LSM (and other non-btree sources): don't assume there is a data handle in the session.