Change in ovirt-engine[ovirt-engine-3.3]: core: avoid db deadlock and unneeded db updates for images