ac: add basic nir -> llvm type helper