Cast back to EGLNativeDisplay type.

Compile-tested only.

Signed-off-by: Ash Charles <ashcharles@gmail.com>