mesa: fix GL_INVALID_OPERATION in glEGLImageTargetTexStorageEXT
Using EGLImages from DMA-BUF as target storage should return GL_INVALID_OPERATION if the target is not GL_TEXTURE_2D or GL_TEXTURE_EXTERNAL_OES.
Closes #7412 (closed)
Edited by Simon Zeni