[libvirt] [PATCH v2 09/24] build-aux: rewrite header ifdef checker in Python