Use virNodeDeviceObjEndAPI() more
Use virNodeDeviceObjEndAPI() more

Instead of explicit virObjectUnlock(obj) + virObjectUnref(obj)
combo the virNodeDeviceObjEndAPI() can be used.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>
Reviewed-by: Martin Kletzander <e82f23e74d43760279ebcc505dac4ae70d5627d0@redhat.com>

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