Add more restriction for 10-bit HEIF test

Check exactly if device has decoder for HEVC Main10 profile and Level5,
which is the profile/level of our test 10-bit HEIF image. Early
terminate if no decoder for this format.

Bug: b/222063912
Test: ImageDecoderTest, BitmapFactoryTest
Change-Id: Ib072436f454ea7f23df6a36279cb11329581bb7f
2 files changed