[PATCH 5.15 017/214] drm/amd/display: Check gpio_id before used as array index