[PATCH 5.10 209/227] drm/amd/pm: Fix negative array index read