Add `Sdk31ModuleController` support to CTS Libcore tests.

This is 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
Ignore-AOSP-First: API level 31 not in AOSP yet
Change-Id: I85c0246ee4024b1ff5ebd93b47bdc5062b68bc9d
8 files changed