gralloc: change align of stride for EXYNOS_YV12

alignment of stride for EXNOS_YV12 is changed to 32.

Bug: 7225357
Change-Id: I6ed66ecba77fde6ad22cd366766bd79d7e1d2b50
Signed-off-by: Seho Kim <sh1645.kim@samsung.com>
diff --git a/gralloc/gralloc.cpp b/gralloc/gralloc.cpp
index a50fe27..0623332 100644
--- a/gralloc/gralloc.cpp
+++ b/gralloc/gralloc.cpp
@@ -233,6 +233,7 @@
     switch (format) {
         case HAL_PIXEL_FORMAT_EXYNOS_YV12:
             {
+                *stride = ALIGN(w, 32);
                 luma_vstride = ALIGN(h, 16);
                 luma_size = luma_vstride * *stride;
                 chroma_size = (luma_vstride / 2) * ALIGN(*stride / 2, 16);