[FEATURE] Make Media compatible with TYPO3 6.2

Change-Id: Ic52f638e97c9a5bac70bc0a0746be5f0d1a2b4ee
Releases: 3.0.0
Resolves: #55213
Reviewed-on: https://review.typo3.org/27041
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot