videocore: When an image is the current framebuffer and is sampled, make a copy instead of using glTextureBarrier