Relevance of temporal coherence in the second-harmonic cross-correlation measurement of a multiply scattered laser pulse