[TASK] Update XCLASS code to match latest TYPO3 version

Contains the actual patch 55894 now

Change-Id: I0f621889289bf6d7637a24a42d36acfab1839488
Resolves: #55894
Reviewed-on: https://review.typo3.org/29638
Reviewed-by: Jo Hasenau
Tested-by: Jo Hasenau