[libvirt] [PATCH v2 2/2] Use virCheckFlags for APIs added in 0.8.0