platforms/drm: Fix crash in EglGbmBackend::presentOnOutput()
If the damage history is empty and EGL_KHR_partial_update is supported, kwin may crash.
cc @graesslin
If the damage history is empty and EGL_KHR_partial_update is supported, kwin may crash.
cc @graesslin