Fix buffer size/offset calculations in rotate/processor.ts
Fix buffer size/offset calculations in rotate/processor.ts

GoogleChromeLabs/squoosh,GoogleChromeLabs/squoosh,GoogleChromeLabs/squoosh,GoogleChromeLabs/squoosh,GoogleChromeLabs/squoosh,GoogleChromeLabs/squoosh