KeyAttestationTest: revise tests of key attestation with device IDs

Key attestation with device IDs is optional. Skip testEcAttestation and
testRsaAttestation if they are tested with devicePropertiesAttestation on
and the device does not support it.

Bug: 171175259
Test: run cts -m CtsKeystoreTestCases -t android.keystore.cts.KeyAttestationTest
Test: (on GSI) run cts-on-gsi -m CtsKeystoreTestCases -t android.keystore.cts.KeyAttestationTest
Change-Id: I6f15a1b99329f75efa7019170e6263908a73e36b
1 file changed