Improve QTRLE encoding performance, no change to output file size/content.