A q-Analog of the Garnier System