Change getelementptr folding to use APInt instead of uint64_t for