[libvirt] [PATCH 05/11] qemu: move virQEMUCapsIsValid before its usage and make it static