Get rid of _Bool automatic variables.

leo_mem_check() was using _Bool, which is a C99 feature not available in
MSVC.