progs/egl: glGenTextures is called too early in xeglbindtex.