Fixed several correctness issues in SeparateConstOffsetFromGEP