Extract RLE decoding from PCX decoding.