Unroll reader for palette modes