[PATCH openEuler-22.03-LTS-SP1] drm/amd/pm: Fix negative array index read