Cast back to EGLNativeDisplay type.

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