[PATCH 1/2] amdgpu: fix overflow for timeout calculation