[libvirt] [PATCH 0/2] fix two issues found by clang