Fix Issue 11698 - readf doesn't work with bool

https://d.puremagic.com/issues/show_bug.cgi?id=11698