Fix bug #12867 with crashes due to large field width in mode-line format.