Confectionery giant Mars said it had stopped using titanium dioxide in its Skittles portfolio in the US.