Remove ambiguous error reporting of EGL_NOT_INITIALIZED and add error reporting for EGL_BAD_ACCESS when invalid internal state is encountered.