[PATCH OLK-6.6] drm/amd/display: Fix potential index out of bounds in color transformation function