[libvirt PATCH 0/8] Some cppcheck-inspired fixes