Unpack 1/2/4 bpp into 8 bpp scanline buffer + support grayscale 1/2/4 bpp