[libvirt] [PATCH] virnetdev: Resolve some Coverity issues