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