[TASK] Add missing TYPO3_MODE checks in ext_localconf.php