Improve invokeinterface for nterp.

- Remove bitwise negation of imt_index: the class linker already always
  initializes the imt_index.
- Special case the imt index of default methods: to simplify invocation
  in nterp, mask the method_index to create the imt index.
- Add arm64, arm, x64 support in nterp.

Test: test.py
Bug: 112676029
Change-Id: I815a4a4ec5c219921ab4ed1a20b02586aab19a46
13 files changed