[egl] Add a quirk to keep context when egl is destroyed