[TASK] Fix usage of functions, which are deprecated in PHP 5.5

Fixes a call to preg_replace with /e modifier,
which is deprecated in PHP 5.5 now.

Resolves: #49300
Releases: 6.2, 6.1
Change-Id: I6bd4b57d64801be912e0050772420a684b1aa237
(cherry picked from commit ebe1573ba958b36876619b91de990b0f4ec60487)
Reviewed-on: https://review.typo3.org/22315
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind