st/mesa: Add implementation of MapTextureImage.