Gen Digital topped Wall Street estimates for third-quarter revenue and profit on Thursday, driven by strong demand for its cybersecurity tools.