Don't dereference NULL in qemumonitorjsontest
Don't dereference NULL in qemumonitorjsontest

In case of an error, qemuMonitorTestNewSimple returns NULL.
Error out instead of dereferencing it.

Found by Coverity, reported by John Ferlan.

olafhering/libvirt,eskultety/libvirt,shugaoye/libvirt,elmarco/libvirt,zhlcindy/libvirt-1.1.4-maintain,datto/libvirt,nertpinx/libvirt,nertpinx/libvirt,crobinso/libvirt,datto/libvirt,jfehlig/libvirt,eskultety/libvirt,shugaoye/libvirt,fabianfreyer/libvirt,VenkatDatta/libvirt,cbosdo/libvirt,crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt,rlaager/libvirt,shugaoye/libvirt,rlaager/libvirt,rlaager/libvirt,eskultety/libvirt,jfehlig/libvirt,VenkatDatta/libvirt,zippy2/libvirt,taget/libvirt,eskultety/libvirt,olafhering/libvirt,elmarco/libvirt,jardasgit/libvirt,VenkatDatta/libvirt,datto/libvirt,VenkatDatta/libvirt,agx/libvirt,rlaager/libvirt,zippy2/libvirt,zhlcindy/libvirt-1.1.4-maintain,andreabolognani/libvirt,libvirt/libvirt,libvirt/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,libvirt/libvirt,andreabolognani/libvirt,agx/libvirt,agx/libvirt,olafhering/libvirt,andreabolognani/libvirt,shugaoye/libvirt,shugaoye/libvirt,jardasgit/libvirt,crobinso/libvirt,datto/libvirt,elmarco/libvirt,jfehlig/libvirt,nertpinx/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,taget/libvirt,zhlcindy/libvirt-1.1.4-maintain,cbosdo/libvirt,cbosdo/libvirt,andreabolognani/libvirt,libvirt/libvirt,datto/libvirt,VenkatDatta/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,jardasgit/libvirt,agx/libvirt,zhlcindy/libvirt-1.1.4-maintain,taget/libvirt,taget/libvirt,zippy2/libvirt,olafhering/libvirt,fabianfreyer/libvirt,cbosdo/libvirt,cbosdo/libvirt,taget/libvirt,zhlcindy/libvirt-1.1.4-maintain,nertpinx/libvirt,eskultety/libvirt,elmarco/libvirt,andreabolognani/libvirt,elmarco/libvirt,zippy2/libvirt,rlaager/libvirt,agx/libvirt