Visit libraries roots in JavaVMExt::VisitRoots

SharedLibrary holds a direct pointer to a class loader. Since class
loaders can move we need to visit these as roots and update them
during the GC. I believe this was causing UnsatisfiedLinkError with
background compaction enabled.

Bug: 8981901
Change-Id: I9e2a230c6dd3c25969abaf2121d8d473f6f8b601
1 file changed