Revert: dsp: don't read off the end of the data array

It breaks strict-aliasing.