Fix ezp-21121: runcrojobs.php -s always prints warnings

# Description
$cli->output uses print() this opens a session so when start_session() is called, it is already opened.

This patch stores the messages and displays them once the session is properly opened.