storage: Fix error path in virStoragePoolObjLoad
storage: Fix error path in virStoragePoolObjLoad

While reviewing how storage driver used ObjListPtr's for reference
in some recent secret driver patches to use the same mechanism, I came
across an instance where the wrong API was called for error paths after
successfully allocating the storage pool pointer and inserting into
the driver pool list.

The path is after virStoragePoolObjAssignDef succeeds - the 'def' passed
in is assigned to pool->def (or newDef) so it shouldn't be the only thing
deleted. The pool is now part of driver->pools.objs, so it would need to
be removed (as happens in the storagePoolCreateXML error paths).

Rather than calling virStoragePoolDefFree to free the def which is now
assigned to the pool, call virStoragePoolObjRemove to ensure the pool
element is removed from the driver list and that anything stored in pool
is properly handled by virStoragePoolObjFree including the call to
virStoragePoolDefFree for the pool->{def|newDef} element.

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