Fix max encoded size estimate in RLE encoding.