require PHP mcrypt extension

eg. used in /var/www/app/vendor/yiisoft/yii2/base/Security.php at line 465
Merge pull request #6497 from schmunk42/patch-1

require PHP mcrypt extension
Fixes #6505