ARM: Improve String.equals() intrinsic for const strings.

And add tests for the relevant string lengths to 021-string2
and remove obsolete inlining-prevention code from that test.
Also a minor fix of the cutoff check for arm64.

This is a follow-up to the ARM64 change
    https://android-review.googlesource.com/336648 .

aosp_angler-userdebug:
  before:
    arm boot*.oat: 34153044
    arm boot*.oat/no string compression: 34107776
  after:
    arm boot*.oat: 34132740 (−20304)
    arm boot*.oat/no string compression: 34099508 (−8268)

The string compression code size difference drops from
45268 to 33232.

Test: m test-art-target on Nexus 6P
Test: m test-art-target on Nexus 6P with string compression disabled.
Bug: 31040547
Change-Id: I4ec73d444d9f56aaf8aa08369c830f398df2168a
3 files changed