Remove use of stdbool.h

stdbool.h is a C99 feature.  For portability, I'm trying to stay as
close to C89 as I can.  Removing the use of stdbool is relatively
easy (most of the time, bool is just a typedef for int, so
it's fairly mechanical to just replace the bool's with int's).