gold futures log third straight day of gains