[TASK] Remove deprecated modifyPageId hook

Resolves: #56848
Releases: 6.2
Change-Id: Icb1e0566dc44dbf7278db50224dc256b94be853b
Reviewed-on: https://review.typo3.org/28326
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer