[JumpThreading] Avoid use of ConstantExpr::getCast()

Use the constant folding API instead.

GitOrigin-RevId: 5cacf4e688aafbc59f101f0ba190b31fa2234928
1 file changed