Variation-Aware Adaptive Tuning for Nanophotonic Interconnects