Fix infinite loop error when a CRTC does not support gamma ramps

Signed-off-by: Mattias Andrée <maandree@operamail.com>
Missed new line at end of fprintf

Signed-off-by: Mattias Andrée <maandree@operamail.com>
merge gamma-drm

Signed-off-by: Mattias Andrée <maandree@operamail.com>