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