Gold gives back gains as dollar regains footing on soft European data