Tens of thousands of patients were waiting for routine treatment at the Queen Elizabeth Hospital in December, new figures show.