secret: Use virSecretDefPtr rather than deref from virSecretObjPtr
secret: Use virSecretDefPtr rather than deref from virSecretObjPtr

Rather than dereferencing obj->def->X, create a local 'def' variable
that will dereference the def and use directly.

Signed-off-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>

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