dri_util: add driImageFormatToSizedInternalGLFormat function