egl: inline fallback for swap_buffers_with_damage