Indirect inference with time series observed with error