core: fix line alignment when option weechat.look.buffer_time_format is set to empty string

A regression was introduced by commit 305175fb8c464a169e767a814f5c400154507e6f