Revert "galaxys2: remove legacy egl hack"

This reverts commit 8007493654af43f357d6025d34f09c27cb5e8cb8.