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