Gold settles with a slight loss, ending its streak of gains