Merge pull request #3651 from d-otte/mbedtls-2.16

Backport 2.16: adjusting size of sliding window array to correct size