qemu_monitor_json: Properly check GetArray return value
qemu_monitor_json: Properly check GetArray return value

Commit 2a8d40f4ec refactored qemuMonitorJSONGetCPUx86Data and replaced
virJSONValueObjectGet(reply, "return") with virJSONValueObjectGetArray.
While the former is guaranteed to always return non-NULL pointer the
latter may return NULL if the returned JSON object is not an array.

Signed-off-by: Jiri Denemark <62bdf77dc47919a4d59a91822129d14633cfca81@redhat.com>

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