[PATCH 5.11 063/104] drm/amdgpu: Add check to prevent IH overflow