Smarter set intersection between app image and non boot image strings

If there are fewer non boot image strings in the runtime, iterate
over those strings instead of the set being newly added.

On AOSP, nonBootImageInternStrings is around 500.

Test: test-art-host
Bug: 116059983
Change-Id: I76b49f2090971cf593ba487889b35dfc1fa8cf13
3 files changed