[BUGFIX] #5172 Fix core deprecation notices in TYPO3 CMS 6.2

Change-Id: Ia724bb1bdb515743df133a1788b3b1e50e16f9c3
Reviewed-on: http://review.typo3.org/34578
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Tested-by: Oliver Klee <typo3-coding@oliverklee.de>