backends/drm: check activePending instead of active for when applying a new gamma ramp is allowed

Xaver Hugl requested to merge work/zamundaaa/gamma-active into master

The crtc may not be set yet in some cases. Note that I have no idea which cases those are, I still can't reproduce the bug myself.

BUG: 471562

Merge request reports