x86: dsputil: Move rv40-specific functions where they belong