Fix LLVM IR type mismatch reported in #99551 Closes #99551 .
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.