display: Add missing TP10 formats checks

Add missing TP10 format checks in Gralloc1.0 and
HWC2.0 to support TP10 video playback.

Change-Id: Ie5948a6693cad04be6556a89d54450c64003a206
Crs-fixed: 2023968
diff --git a/libgralloc1/gr_allocator.cpp b/libgralloc1/gr_allocator.cpp
index 577819c..fc33832 100644
--- a/libgralloc1/gr_allocator.cpp
+++ b/libgralloc1/gr_allocator.cpp
@@ -479,6 +479,7 @@
 bool Allocator::IsUBwcFormat(int format) {
   switch (format) {
     case HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS_UBWC:
+    case HAL_PIXEL_FORMAT_YCbCr_420_TP10_UBWC:
       return true;
     default:
       return false;