optimize fmt_bool() a bit

Signed-off-by: Roman Yeryomin <roman@advem.lv>