Suppression of irradiation effects in gold-doped silicon detectors