Macy’s to sell building in Pittsburgh but keep store