TSMC reports 39% year-over-year profit increase in Q3