CGL Fixes according to metrics.typo3.org

Change-Id: I4a2670b9ebfa3258caf0d0dd7761f909b7a40338
Reviewed-on: https://review.typo3.org/25166
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau
[BUGFIX] Use core functions to get correct backend layout

Must be tested for 6.0 and 6.1 as well, since it might be
working for 6.2 only

Change-Id: I369bb265d68b7f2f9d28619ea25ec167f55df638
Resolves: #53322
Reviewed-on: https://review.typo3.org/25165
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau