ReplacePtrsWithInts: Modify SimplifyCasts for use in ExpandGetElementPtr.
ExpandGetElementPtr: Simplify inttoptr -> ptrtoint chains.