cts: Skip encodeDecode tests when there is no needed encoder

Bug: 24345906
Change-Id: I81f9f7b8934a99a50690e6bcbbd2a17b64d36714
2 files changed