[PATCH 5.10 090/317] drm/amd/display: Fix potential index out of bounds in color transformation function