[BUGFIX][CLEANUP] Deprecation log entries in TYPO3 >= 6.1

Change-Id: I43dc4c5fe01de041899487123739eb0167785e96
Reviewed-on: https://review.typo3.org/31434
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers