remove legacy egl hack

Change-Id: I697bc350835a1b8ceac0d98216820f451b817439