conf: refactor virNetworkLoadState
conf: refactor virNetworkLoadState

Use g_auto where possible, reducing variable scope where applicable.

Signed-off-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>
Reviewed-by: Martin Kletzander <e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com>
Reviewed-by: Pavel Hrdina <d4772d05997b8abf035041e3b4f4996380ea7e7a@redhat.com>

olafhering/libvirt,jfehlig/libvirt,libvirt/libvirt,jfehlig/libvirt,crobinso/libvirt,zippy2/libvirt,olafhering/libvirt,libvirt/libvirt,nertpinx/libvirt,libvirt/libvirt,zippy2/libvirt,olafhering/libvirt,jfehlig/libvirt,nertpinx/libvirt,crobinso/libvirt,crobinso/libvirt,nertpinx/libvirt,olafhering/libvirt,libvirt/libvirt,zippy2/libvirt,jfehlig/libvirt,crobinso/libvirt,nertpinx/libvirt,nertpinx/libvirt,zippy2/libvirt