IB/ipath: Fix a race condition when generating ACKs