Fix potential definition conflict in libkunquat tests.
Add a type-generic linear interpolation macro.
Fix some convolution DSP issues.