add assert before write khash del flags

I want to ensure that both bit flags empty and del have never on.
just like https://github.com/attractivechaos/klib/blob/master/khash.h