[PATCH v4 35/38] drm: Apply range restriction after color adjustment when allocation