util/hash_table: add helper to remove entry by key