x86: dsputil: Refactor pixels16 wrapper functions with a macro