Fix two bugs around aput-object.

- Fix LSE by not removing stores that may throw.
- Fix nterp to export the PC before calling the aput-object helper.

Test: 726-array-store
Change-Id: I4fa6c608fc657433dc62ef72a4e94260281db660
diff --git a/compiler/optimizing/load_store_elimination.cc b/compiler/optimizing/load_store_elimination.cc
index 4c150da..24041e9 100644
--- a/compiler/optimizing/load_store_elimination.cc
+++ b/compiler/optimizing/load_store_elimination.cc
@@ -668,7 +668,7 @@
         // Keep the store inside irreducible loops.
       }
     }
-    if (possibly_redundant) {
+    if (possibly_redundant && !instruction->CanThrow()) {
       possibly_removed_stores_.push_back(instruction);
     }