Optimized PET LUT transformation.

Creating a monochrome bitmap & applying LUT on it by changin bitmap's
palette is a faster operation. Than applying LUT by hand before creating
display bitmap.