[PATCH OLK-6.6] drm/amd/display: Check gpio_id before used as array index