use GEP::accumulateConstantOffset() to replace custom written code to compute GEP offset