Load glEGLImageTargetTexture2DOES (from extension) dynamically.
mesa >= 10.6 doesn't export glEGLImageTargetTexture2DOES (it's now an extension), so look it up at runtime.
See also https://registry.khronos.org/OpenGL/extensions/OES/OES_EGL_image.txt
Signed-off-by: Danny Milosavljevic dannym@scratchpost.org