Use of a superconducting solenoid as a matching device for the compact linear collider positron source