[Libvir] [patch 8/9] Some src/hash.c re-factoring