Add support for 4bpp and 2bpp grayscale rasters