Use preg_replace_callback for PHP 5.5

Conflicts:
	plugins/sfSearchPlugin/lib/log/xfLoggerTask.class.php
	plugins/sfSearchPlugin/lib/util/xfToolkit.class.php