qemumonitorjsontest: Use VIR_AUTOPTR support
qemumonitorjsontest: Use VIR_AUTOPTR support

Simplify the GEN_TEST_FUNC() and target of the DO_TEST_SIMPLE() macros
by using autoptr support.

Signed-off-by: Eric Blake <a9da18479c871fe903d9590822cfe2629c6a4d11@redhat.com>
Acked-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>

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