Fix the Scala type of generated bool fields

The complex type of "bool" was being converted in to an IntegerType(1)
when it's really an IntegerType(8) for C compatibility. This hasn't been
a problem so far because codegen never used the "value" field of a boxed
boolean and instead uses the true and false singletons.