Change mockito-target to mockito-api

Since mockito-target is pulled in as a static library, it contains the
entirety of junit4-target which contains
org.junit.internal.builders.AnnotatedBuilder. There appears to be a
difference between the installed version and the one that is linked in
causing IncompatibleClassChangeError when a test in the
android.core.tests.libcore.package.libcore CTS package. Switching that
to mockito-api doesn't actually link in the AnnotatedBuilder class which
is fine because it's satisfied by android.core.tests.runner which is
actually running the tests.

Bug: 26458139

(cherry picked from commit 10ecc34d18d57504a02c8fc5a060b4428b65ac6b)

Change-Id: I71ec5205982865d26d7e288d58c0451dab7295bd
1 file changed