[PATCH OLK-6.6 064/525] drm/amd: Fix UBSAN array-index-out-of-bounds for SMU7