[libvirt] [PATCH v2 11/12] migration: reuse flags vs features checks in toURI family