RadioShack swings to loss in Q4