Fix LLVM codegen integer interconversion and integer <-> character primitives

Also fixes vector complements.