qemu: Resolve Coverity DEADCODE
qemu: Resolve Coverity DEADCODE

Coverity notes that the switch() used to check 'connected' values has
two DEADCODE paths (_DEFAULT & _LAST).  Since 'connected' is a boolean
it can only be one or the other (CONNECTED or DISCONNECTED), so it just
seems pointless to use a switch to get "all" values.  Convert to if-else

jfehlig/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,crobinso/libvirt,zippy2/libvirt,olafhering/libvirt,VenkatDatta/libvirt,rlaager/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,nertpinx/libvirt,taget/libvirt,andreabolognani/libvirt,agx/libvirt,eskultety/libvirt,rlaager/libvirt,taget/libvirt,VenkatDatta/libvirt,jfehlig/libvirt,eskultety/libvirt,fabianfreyer/libvirt,eskultety/libvirt,VenkatDatta/libvirt,crobinso/libvirt,crobinso/libvirt,libvirt/libvirt,olafhering/libvirt,datto/libvirt,olafhering/libvirt,andreabolognani/libvirt,andreabolognani/libvirt,eskultety/libvirt,jardasgit/libvirt,agx/libvirt,andreabolognani/libvirt,jfehlig/libvirt,zippy2/libvirt,nertpinx/libvirt,eskultety/libvirt,agx/libvirt,taget/libvirt,agx/libvirt,olafhering/libvirt,VenkatDatta/libvirt,taget/libvirt,datto/libvirt,nertpinx/libvirt,crobinso/libvirt,libvirt/libvirt,libvirt/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,zippy2/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,agx/libvirt,jardasgit/libvirt,datto/libvirt,datto/libvirt,jardasgit/libvirt,taget/libvirt,jfehlig/libvirt,rlaager/libvirt,libvirt/libvirt,rlaager/libvirt,datto/libvirt,rlaager/libvirt,nertpinx/libvirt,zippy2/libvirt