decompress_common: move temp space for building decode table to heap