util: Fix crash when removing entries during hash iteration
util: Fix crash when removing entries during hash iteration

Commit 9677cd33eea4c65d78ba463b46b8b45ed2da1709 made it possible to
remove current entry when iterating through all hash entries. However,
it didn't properly handle a special case of removing first entry
assigned to a given key which contains several entries in its collision
list.

jardasgit/libvirt,iam-TJ/libvirt,iam-TJ/libvirt,emaste/libvirt,jardasgit/libvirt,foomango/libvirt,olafhering/libvirt,jfehlig/libvirt,olafhering/libvirt,usc-isi/libvirt,elmarco/libvirt,soulxu/libvirt-xuhj,dumbbell/libvirt,libvirt/libvirt,agx/libvirt,jeckersb/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,nertpinx/libvirt,warewolf/libvirt,foomango/libvirt,andreabolognani/libvirt,taget/libvirt,emaste/libvirt,cbosdo/libvirt,dumbbell/libvirt,zhlcindy/libvirt-1.1.4-maintain,foomango/libvirt,nertpinx/libvirt,trainstack/libvirt,zhlcindy/libvirt-1.1.4-maintain,rmarwaha/libvirt,elmarco/libvirt,eskultety/libvirt,andreabolognani/libvirt,soulxu/libvirt-xuhj,fabianfreyer/libvirt,wiedi/libvirt,fabianfreyer/libvirt,novel/fbsd-libvirt,dumbbell/libvirt,crobinso/libvirt,olafhering/libvirt,usc-isi/libvirt,wiedi/libvirt,elmarco/libvirt,olafhering/libvirt,cbosdo/libvirt,trainstack/libvirt,leilihh/libvirt,jfehlig/libvirt,dumbbell/libvirt,shugaoye/libvirt,danwent/libvirt-ovs,usc-isi/libvirt,rmarwaha/libvirt,taget/libvirt,emaste/libvirt,kantai/libvirt-vfork,jeckersb/libvirt,andreabolognani/libvirt,zhlcindy/libvirt-1.1.4-maintain,rmarwaha/libvirt1,zippy2/libvirt,emaste/libvirt,emaste/libvirt,novel/fbsd-libvirt,iam-TJ/libvirt,trainstack/libvirt,eskultety/libvirt,trainstack/libvirt,andreabolognani/libvirt,cbosdo/libvirt,taget/libvirt,rmarwaha/libvirt1,rmarwaha/libvirt1,dumbbell/libvirt,andreabolognani/libvirt,rlaager/libvirt,rlaager/libvirt,warewolf/libvirt,shugaoye/libvirt,fabianfreyer/libvirt,crobinso/libvirt,bjzhang/libvirt,emaste/libvirt,libvirt/libvirt,agx/libvirt,siboulet/libvirt-openvz,leilihh/libvirt,datto/libvirt,eskultety/libvirt,wiedi/libvirt,VenkatDatta/libvirt,jeckersb/libvirt,foomango/libvirt,nertpinx/libvirt,libvirt/libvirt,cbosdo/libvirt,datto/libvirt,jeckersb/libvirt,siboulet/libvirt-openvz,wiedi/libvirt,siboulet/libvirt-openvz,danwent/libvirt-ovs,jeckersb/libvirt,nertpinx/libvirt,bjzhang/libvirt,novel/fbsd-libvirt,datto/libvirt,leilihh/libvirt,taget/libvirt,rmarwaha/libvirt1,shugaoye/libvirt,danwent/libvirt-ovs,siboulet/libvirt-openvz,warewolf/libvirt,kantai/libvirt-vfork,wiedi/libvirt,zippy2/libvirt,nertpinx/libvirt,usc-isi/libvirt,novel/fbsd-libvirt,warewolf/libvirt,VenkatDatta/libvirt,taget/libvirt,rlaager/libvirt,zhlcindy/libvirt-1.1.4-maintain,usc-isi/libvirt,iam-TJ/libvirt,rmarwaha/libvirt,agx/libvirt,elmarco/libvirt,trainstack/libvirt,zhlcindy/libvirt-1.1.4-maintain,eskultety/libvirt,shugaoye/libvirt,trainstack/libvirt,iam-TJ/libvirt,VenkatDatta/libvirt,foomango/libvirt,crobinso/libvirt,datto/libvirt,iam-TJ/libvirt,bjzhang/libvirt,shugaoye/libvirt,jeckersb/libvirt,elmarco/libvirt,fabianfreyer/libvirt,soulxu/libvirt-xuhj,datto/libvirt,rlaager/libvirt,soulxu/libvirt-xuhj,jeckersb/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt,siboulet/libvirt-openvz,novel/fbsd-libvirt,novel/fbsd-libvirt,rmarwaha/libvirt1,zippy2/libvirt,dumbbell/libvirt,agx/libvirt,bjzhang/libvirt,libvirt/libvirt,wiedi/libvirt,eskultety/libvirt,VenkatDatta/libvirt,warewolf/libvirt,kantai/libvirt-vfork,rmarwaha/libvirt1,jardasgit/libvirt,rmarwaha/libvirt,warewolf/libvirt,soulxu/libvirt-xuhj,danwent/libvirt-ovs,cbosdo/libvirt,trainstack/libvirt,jfehlig/libvirt,agx/libvirt,jfehlig/libvirt,novel/fbsd-libvirt,warewolf/libvirt,iam-TJ/libvirt,rlaager/libvirt,leilihh/libvirt,bjzhang/libvirt,emaste/libvirt,rmarwaha/libvirt,zippy2/libvirt,crobinso/libvirt,jardasgit/libvirt,danwent/libvirt-ovs,novel/fbsd-libvirt,kantai/libvirt-vfork,leilihh/libvirt,wiedi/libvirt,novel/fbsd-libvirt,leilihh/libvirt