LoopVectorize: Only strip casts from integer types when replacing symbolic
strides

Fixes PR18480.