Gold settles in the red, weighed by dollar's gain