Implement folding of expressions like 'uint cast (int* getelementptr (int*