added codegen for character intrinsics and ichar/char conversion