libgralloc: Import header for Venus buffer size calculation

Import the common header file with Venus alignment requirements
to calculate venus buffer size.

Change-Id: I86cba91de8f7a3845a4592243b4f21e7cda03315
diff --git a/libgralloc/alloc_controller.cpp b/libgralloc/alloc_controller.cpp
index a6311f2..f0b2ca2 100644
--- a/libgralloc/alloc_controller.cpp
+++ b/libgralloc/alloc_controller.cpp
@@ -236,9 +236,7 @@
             size = ALIGN(alignedw * alignedh * 2, 4096);
             break;
         case HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS:
-            size = alignedw*alignedh +
-                  (ALIGN(alignedw/2, 32) * (alignedh/2))*2;
-            size = ALIGN(size, 4096);
+            size = VENUS_BUFFER_SIZE(COLOR_FMT_NV12, width, height);
             break;
         default:
             ALOGE("unrecognized pixel format: 0x%x", format);