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