[buffer] fix symmetric distance strategy for deflate
Merge branch 'develop-1.57' into prepare