Tens of thousands of patients were waiting for routine treatment at Dorset County Hospital in December, new figures show.