The building materials company has announced a planned spinoff of its North American business, which will be listed on the New York Stock Exchange.