qemu: domain: Fix potential NULL deref when parsing job private data
qemu: domain: Fix potential NULL deref when parsing job private data

A specially crafted XML which would reference a non-existing disk but
request the mirror to be registered with the blockjob could potentially
make the parser dereference NULL. Fix it by moving the code slightly and
just treat it as a wrong job XML. Found by Coverity.

Reported-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>
Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Erik Skultety <2c14d38fa47c8799f1b9c16280abe27f8edfec6e@redhat.com>
Reviewed-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>

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