console: Turn console_output_scroll_to_end() for loop into a while loop
console: Turn console_output_scroll_to_end() for loop into a while loop

This hopefully addresses a static analysis complaint.

omf2097/openomf,omf2097/openomf,omf2097/openomf