Add `Sdk31ModuleController` support to ART run-tests and gtests.

This in order to run these tests only if the device under test is
SDK version 31 (Android 12) or above.

Test: m mts && mts-tradefed run commandAndExit mts-art
Bug: 195178963
Bug: 184696655
Bug: 181724969
Ignore-AOSP-First: API level 31 not in AOSP yet
Change-Id: I4bb6405281809863562e5bbbfc1189f227f2508d
13 files changed