[PATCH 5.10.y] drm/amd/pm: Fix negative array index read