Fix progress report in DBUpdate-Script without autoflushing, the output only appears on the terminal
after a newline is printed, so we only learn after a step what took so long.
Merge remote-tracking branch 'upstream/master' into otrs-master