don't hook egl functions if surfaceflinger is to be started