Amazon is forecasting a slowdown in revenue growth and operating profits when it reports third-quarter earnings.