Record U.S. third-quarter growth assured as goods trade deficit falls, inventories rise