[BUGFIX] Fix deprecation call in AbstractRecordList

Resolves: #49764
Releases: 6.2
Change-Id: I7bd8aee2ff9897cbfd0ea117d4afb66f49d50012
Reviewed-on: https://review.typo3.org/22097
Tested-by: Philipp Gampe
Reviewed-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters