Fix labelToStringIndex computation for llvm codegen