cxgbe(4): implement if_get_counter.