Task #40095: Move core to namespaces
Fix wrong replacements of the namespace refactoring
If the refactoring script replaced things like "tx_foo_bar" first and "tx_foo_bar_baz" in a second step,
instances of "tx_foo_bar_baz" are already replaced during the first run, leading to "\TYPO3\CMS\Foo\Bar_baz"
Fix the class names to get the workspace module running again.