gallium: Implement DRIimageExtension.duplicateImage
egl: Add MESA_image_sRGB extension.

This gives applications access to use DRIimage.duplicateImage to create
sRGB and linear views from EGL images.