Thermoelectric voltage switching in gold atomic wire junctions