egl: Use a boolean to indicate whether a display is initialized.