Fixes CVE-2021-26119 and CVE-2021-26120. https://github.com/smarty-php/smarty/blob/v3.1.39/CHANGELOG.md