gold notches sixth consecutive gain as dollar adds to losses