cxgb4: fix thermal configuration dependencies