Gannett reports 3rd-quarter rise in revenue, profit