Refine GetElementPointers to constants. Requires a new intrinsic: Wait.