egl/main: Stop using EGLNative types internally