Tuning the local temperature during feedback controlled electromigration in gold nanowires