Samsung revises down Q3 earnings after discontinuing Galaxy Note 7