ck_ht: Fix bug in ck_ht_gc and backport garbage collector improvements from ck_hs.