Add `Sdk31ModuleController` support to ART run-tests and gtests. am: 0d1c54de4f

Original change: https://googleplex-android-review.googlesource.com/c/platform/art/+/15473174

Change-Id: I1a6adcc0b9e1078b5bc997dd124ca8f6b25e3052