pngdec: fix decoding of right column for 2/4bpp

Fixes Ticket1146

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