egl: move fallback calls to eglapi.c