host: Logbuf, fix problems with the -1 mode.

Signed-off-by: Blaž Hrastnik <blaz.hrast@gmail.com>