Stein Mart swings to loss in Q3