Gold notches a gain for a second day as strong dollar pauses its climb