khash.h: keep key/value table accessible from original hashtable during resize; fix #2682