hash table BUGFIX key_part with zero length

Now dict_hash_multi has an effect, even if the key has zero length.
diff --git a/src/hash_table.c b/src/hash_table.c
index c74ced7..fecdd5c 100644
--- a/src/hash_table.c
+++ b/src/hash_table.c
@@ -102,7 +102,7 @@
 {
     uint32_t i;
 
-    if (key_part) {
+    if (key_part && len) {
         for (i = 0; i < len; ++i) {
             hash += key_part[i];
             hash += (hash << 10);