[PATCH OLK-6.6 065/525] drm/amd: Fix UBSAN array-index-out-of-bounds for Polaris and Tonga