alpha/pixblockdsp: move code out of dsputil