[PATCH openEuler-1.0-LTS] drm/amd/display: Fix potential index out of bounds in color transformation function