[libvirt] [PATCH v5 04/23] build-aux: rewrite header ifdef checker in Python