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.

Change-Id: I924597869b3802da99429408bc4f1366e2f591e5
Author: kalyan kondapally <kalyan.kondapally@intel.com>
Signed-off-by: Manuel Bachmann <manuel.bachmann@open.eurogiciel.org>