[PATCH 4.17 093/220] IB/hfi1: Optimize kthread pointer locking when queuing CQ entries