gold posts modest loss, down a second-straight day