[libvirt] [PATCH v2 5/5] build: merge all syntax-check logic into one file