[Libvirt-cim] [PATCH 33/47] Fix xml generation algorithm in graphics_pty_xml()