Update deprecated helpers from the symfony/console component
ConsoleOutput wrapper uses deprecated helpers from the Symfony console helpers, introduced in #59606
Because this is a backport from Flow, it should be first fixed in Flow? (introduced in #49016)
This may affect the already existing API (deprecation) and allow for a more flexible approach to access all available helpers and their methods. Not creating wrapper methods to restrict the usage of them.