smurf: Fix indexing bug that could cause negative variances

This bug caused the element at the start of the final smoothing box to be
subtracted twice by smf_boxcar1