IB/cxgb4: convert to idr_alloc()