Updates all the blocks containing a given edited image.

@param {Array} blocks Array of block objects for the current post.
@param {Object} image The edited image.
@param {number} image.id The image ID.
@param {string} image.url The new image URL.
@param {string} image.status The new image status. "deleted" or "updated" (default).
@param {number} [image.transientId] The temporary ID assigned to uploading image.
function updateImageBlocks( blocks, image ) {
		forEach( blocks, block => {
			if ( imageBlocks[ block.name ] ) {
				imageBlocks[ block.name ]( block, image );
			}
			if ( block.innerBlocks.length ) {
				updateImageBlocks( block.innerBlocks, image );
			}
		} );
	}