c2 vp9, av1: enable P010 only for devices launching with T

Detecting P010 is support is not possible because some devices
end up failing displaying P010 even if they can allocate it.

Limit P010 support for software codecs to devices that launched
on Android T or known to target Android T VSR.

Bug: 229387180
Test: Logs to confirm P010 isn't used for s/w decoding on upgrading
 devices when playing 10-bit clips.

Change-Id: Ib8ccdf8c6073155fd6189c9ed2510d75951dfb75
diff --git a/media/codec2/sfplugin/utils/Codec2CommonUtils.h b/media/codec2/sfplugin/utils/Codec2CommonUtils.h
index dfc8551..98dd65b 100644
--- a/media/codec2/sfplugin/utils/Codec2CommonUtils.h
+++ b/media/codec2/sfplugin/utils/Codec2CommonUtils.h
@@ -23,6 +23,8 @@
 
 bool isAtLeastT();
 
+bool isVendorApiOrFirstApiAtLeastT();
+
 /**
  * Check if a given pixel format is supported.
  * enums listed in android_pixel_format_t, android_pixel_format_v1_1_t