arm/console: Fix calculation of max char count per line