[libvirt] [PATCH v4 04/26] build-aux: rewrite duplicate header checker in Python