fix intrinsics sums is both an input and an output

fix intrinsics optimization,  xcorr_kernel_sse4_1() are that sums is
both an input and an output