Move some checker tests from smali to Java.

These tests were converted to smali when we moved from
jack to javac+dx but a slightly different code style can
be used to push javac+dx to generate the same bytecode.

Also drop a duplicate test (Java+smali) and the obsolete
`doThrow` pattern previously used to prevent inlining.

Test: testrunner.py --host --optimizing
Bug: 62950048
Change-Id: I6b645124cd65ef4da69c0e7b2a5e9b5e7003b3fe
8 files changed