Fix 1bpp palettized png with width not a multiple of 8.

Fixes ticket #2204.
dirac/x86: fix compile without inline asm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>