[PATCH] drm/damage_helper: Fix handling of cursor dirty buffers