[BUGFIX] Use t3lib_div to be compatible

Change-Id: Ia073e8b9224a296ca0940f11ea6f93155fe07656
Reviewed-on: https://review.typo3.org/25858
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer