[libvirt] [PATCH 3/3] python: avoid unlikely sign extension bug