JIT: Don't update the dex cache of another class loader.
This only works for properly delegating class loaders. But Java allows
non-delegating ones :(
bug:29964720
test:612-jit-dex-cache
(cherry picked from commit 491617a6)
(cherry picked from commit a2d7cbb4)
(cherry picked from commit ae093d69)
Change-Id: I73df55286a9bdb3f96963e0756e3a8b784aa9077