Wrap egl calls aroung EGL_CHECK for improved error detection