[libvirt PATCH 06/16] domain_conf: graphics: extract RDP formatting to separate function