[Libvir] bug in the virSetErrorFunc() function