cxgb4: fix crash due to manipulating queues before registration