Fixed bug #14989: Use TYPO3_REQUESTTYPE consistently for CLI calls detection