Gold prices set for second weekly gain on dollar pullback