Fixes two warnings in pitch_xcorr()