Fixed palette compilation of compressed images with multiple subpalettes
Added unit test for compilation of compressed images with multiple subpalettes