winsys/amdgpu: avoid ioctl call when fence_wait is called without timeout