[3.0] Remove unused mEglImageKHRContainer from NativeImageSource and add error check