Fix component=shared_library build.
Fix component=shared_library build.

GetPlatformDefaultEGLNativeDisplay() is not expoted, but we could use
GLSurfaceEGL::GetNativeDisplay() to access the native display. This
also fixes the shared build.

likewise/ozone-wayland,joone/ozone-wayland,Tarnyko/ozone-wayland,Tarnyko/ozone-wayland,AndriyP/ozone-wayland,likewise/ozone-wayland,kuscsik/ozone-wayland,clopez/ozone-wayland,kishansheshagiri/ozone-wayland,clopez/ozone-wayland,siteshwar/ozone-wayland,nagineni/ozone-wayland,Tarnyko/ozone-wayland,clopez/ozone-wayland,nagineni/ozone-wayland,nagineni/ozone-wayland,joone/ozone-wayland,AndriyP/ozone-wayland,mrunalk/ozone-wayland,01org/ozone-wayland,siteshwar/ozone-wayland,AndriyP/ozone-wayland,likewise/ozone-wayland,baillaw/ozone-wayland,shaochangbin/ozone-wayland,shaochangbin/ozone-wayland,nicoguyo/ozone-wayland,shaochangbin/ozone-wayland,kishansheshagiri/ozone-wayland,AndriyP/ozone-wayland,shaochangbin/ozone-wayland,sjnewbury/ozone-wayland,kishansheshagiri/ozone-wayland,01org/ozone-wayland,likewise/ozone-wayland,kuscsik/ozone-wayland,sjnewbury/ozone-wayland,siteshwar/ozone-wayland,clopez/ozone-wayland,nicoguyo/ozone-wayland,siteshwar/ozone-wayland,kishansheshagiri/ozone-wayland,nicoguyo/ozone-wayland,baillaw/ozone-wayland,01org/ozone-wayland,sjnewbury/ozone-wayland,baillaw/ozone-wayland,mrunalk/ozone-wayland,nicoguyo/ozone-wayland,kuscsik/ozone-wayland,mrunalk/ozone-wayland,baillaw/ozone-wayland,kuscsik/ozone-wayland,joone/ozone-wayland,joone/ozone-wayland,01org/ozone-wayland,mrunalk/ozone-wayland,Tarnyko/ozone-wayland,sjnewbury/ozone-wayland,nagineni/ozone-wayland