[iOS] make AOT code PIC compatible