surfaceflinger: move EGL termination into RE

This defers EGL termination a bit but that should be fine.  More
importantly, SurfaceFlinger is never destructed.

Test: SurfaceFlinger_test
Change-Id: I200e2169eb1cc419a587a7626b438d3d5ddedc70
2 files changed