[libvirt] [libvirt-python][PATCH] generator: fix build fail with old xml lib