(Reuters) - Gains in technology stocks helped lift the Nasdaq on Thursday, while the S&P 500 and the Dow were weighed down by losses in consumer stocks.