ACDC: An Accuracy- and Congestion-aware Dynamic Traffic Control Method for Networks-on-Chip