[PATCH 6.8 323/399] drm/xe/query: fix gt_id bounds check