Upgrade lmdb's Reader/DupReader