Fix asm for String#indexOf/compareTo intrinsics

Fixed code for arm arch, it's still broken
on remaining architectures (will be done soon in
following CLs).

OpenJdk string lacks offset and length fields and requires
user to fetch the length from array object.

Change-Id: I682911e4ee72d9597e8a9735ac414c837569eb8e
4 files changed