Update JUnit and InstrumentationRegistry imports

This updates the deprecated imports of AndroidJUnit4 and
InstrumentationRegistry.

Flag: TEST_ONLY
Bug: 353661518
Test: atest
Change-Id: I4f2af2491fa45b28d3c557dae28fb78601c7ff54
20 files changed