[Deflate] Reduce nesting in lengthEncode
[Deflate] Reduce nesting in lengthEncode

This should be a purely refactoring change with no effect on performance or functionality.

tsolomko/SWCompression,tsolomko/SWCompression,tsolomko/SWCompression