drm/amd/display: Fix index out of bounds in degamma hardware format translation (CVE-2024-49894) | HOL Guard CVE