TSMC says third-quarter revenue hit by computer virus