drm/amdgpu: fix a race in GPU reset with IB test (v2)