Update API check in SECURITY_MODEL_COMPATIBLE tests

The tests now take into account both the system and vendor API levels.

Test: make CtsVerifier and run the SecurityModeFeatureVerifier test
Test: atest CtsSecurityTestCases:FileIntegrityManagerTest \
     CtsSecurityTestCases:EncryptionTest \
     CtsSecurityTestCases:VerifiedBootTest \
     CtsSecurityHostTestCases:KernelConfigTest \
     CtsSecurityHostTestCases:MetadataEncryptionTest \
     CtsSecurityHostTestCases:PerfEventParanoidTest \
     CtsSecurityHostTestCases:SELinuxHostTest \
     CtsAppSecurityHostTestCases:ApkVerityInstallTest \
     CtsAppSecurityHostTestCases:DirectBootHostTest \
     CtsNativeEncryptionTestCases CtsNativeVerifiedBootTestCases
Bug: 204158083
Bug: 201509831
Merged-In: I2d0e0dbbc89a07968cc978f2c32208c0b6f666b6
Change-Id: I2d0e0dbbc89a07968cc978f2c32208c0b6f666b6
(cherry picked from commit f2aed82ca5acbb22a79512e4da3932c94da33e8e)
16 files changed