codec_support/blockdsp: add halfpel interpolation functions