[BUGFIX] Framework crashes if activateContentAdapter is = 1

When the fake frontend is created, the global TSFE needs to
be set before newCObj is called.

Resolves: #59750
Change-Id: Iafd5a1c3a66d5b4d346a0dbee4a2dc92b2d61c7e
Reviewed-on: https://review.typo3.org/30977
Reviewed-by: Nicole Cordes
Tested-by: Nicole Cordes
Reviewed-by: Oliver Klee
Tested-by: Oliver Klee