egl: Fix Terminate with shared gbm screens

NOTE: This is a candidate for the 7.11 branch.
3 files changed