In ShaderRenderCaseInstance::uploadImage2D(), the allocation object was
being passed in instead of the offset. This resulted in attempting to
flush an invalid memory range.
This was resulting in intermittent crashes in the dEQP-VK.glsl.discard.* tests.