drm/amd/display: Ensure array index tg_inst won't be -1 (CVE-2024-46730) | HOL Guard CVE