lib/egl: move `report_egl_error` from Object to `EGLDisplay`