Fix a crash in eglDestroyImageKHR()
Apparently, libepoxy requires a current EGL display in order to resolve EGL functions. This is unexpected as most of the EGL functions require no current opengl context.
This change makes kwin bypass libepoxy for problematic cases.
Edited by Vlad Zahorodnii