Switching the sign of Josephson current through Aharonov-Bohm interferometry