[TASK] Clean up Media Layouts/Default

Some code is redundant and confusing.

Change-Id: If9c5ad715f41bc4e314953cf5e021db1b95146fd
Releases: 3.0.0
Resolves: #58861
Reviewed-on: https://review.typo3.org/30169
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot