egl: set the EGLDevice when creating a display