fixed type error in function to Z for bool, not I. this fixes compilation of core012 printbool(bool)