The world's largest economy grew in the third quarter as consumer spending picked up, according to the latest GDP report.