fix encode code block allocation
no need to calloc the component data, since it will be over-written with actual data
make code block encoding parallizable by creating one t1 struct

per block.
use aligned malloc for t1 compressed data
for single tile encoding, simply re-use image components, rather than

allocating two copies of each component and copying into the tile component