Add inTempStorage option; don't use markable stream for inBitmap

This saves on 32k allocs in markable stream and 16k allocs in
decodeStreamInternal.