[BUGFIX] Unable to override detailpid using TypoScript

Fixes possibility to use the detailPid in the TypoScript configuration.

Resolves: #59993
Change-Id: Ie287761e58553b9f171bc28254840fb81afc8c93
Reviewed-on: https://review.typo3.org/31740
Reviewed-by: Jochem de Groot <jochemdegroot@roquin.nl>
Tested-by: Jochem de Groot <jochemdegroot@roquin.nl>