RDMA/cxgb4: Use a mutex for QP and EP state transitions