Revert "use signed int32 output buffer for both lossy and lossless dwt"

This reverts commit ec950c755c6ac991ab4866288406f9224597fe23.
both lossy and lossless dwt+quant output to 16 bit buffer (saves memory)