virHashAddEntry: Report error on duplicate key
virHashAddEntry: Report error on duplicate key

If this function fails, the error message is reported only in
some cases (e.g. OOM), but in some it's not (e.g. duplicate key).
This fact is painful and we should either not report error at all
or report the error in all possible cases. I vote for the latter.
Unfortunately, since the key may be an arbitrary value (not
necessarily a string) we can't report it in the error message.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

taget/libvirt,rlaager/libvirt,rlaager/libvirt,VenkatDatta/libvirt,crobinso/libvirt,andreabolognani/libvirt,rlaager/libvirt,fabianfreyer/libvirt,datto/libvirt,jardasgit/libvirt,zippy2/libvirt,taget/libvirt,eskultety/libvirt,crobinso/libvirt,agx/libvirt,rlaager/libvirt,jfehlig/libvirt,jfehlig/libvirt,andreabolognani/libvirt,libvirt/libvirt,jfehlig/libvirt,andreabolognani/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,zippy2/libvirt,libvirt/libvirt,libvirt/libvirt,datto/libvirt,fabianfreyer/libvirt,olafhering/libvirt,VenkatDatta/libvirt,VenkatDatta/libvirt,andreabolognani/libvirt,eskultety/libvirt,datto/libvirt,jardasgit/libvirt,datto/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,libvirt/libvirt,agx/libvirt,agx/libvirt,agx/libvirt,taget/libvirt,taget/libvirt,crobinso/libvirt,zippy2/libvirt,jardasgit/libvirt,olafhering/libvirt,nertpinx/libvirt,VenkatDatta/libvirt,jardasgit/libvirt,eskultety/libvirt,eskultety/libvirt,andreabolognani/libvirt,datto/libvirt,nertpinx/libvirt,olafhering/libvirt,nertpinx/libvirt,eskultety/libvirt,nertpinx/libvirt,rlaager/libvirt,crobinso/libvirt,zippy2/libvirt,jfehlig/libvirt,agx/libvirt,taget/libvirt,fabianfreyer/libvirt,olafhering/libvirt