Decoder: Fix allocation for Mbaff weight matrix

Increased the allocation size for Mbaff weight
matrix buffer

Bug: 36996978

Change-Id: I21cf2cb1010abdc6346f743f5237ae1730c4bf41
(cherry picked from commit 07db35ad5af8c4ee2308f983650d9a1b811841ea)
diff --git a/decoder/ih264d_api.c b/decoder/ih264d_api.c
index d44369b..af700af 100644
--- a/decoder/ih264d_api.c
+++ b/decoder/ih264d_api.c
@@ -1376,9 +1376,8 @@
     pu1_buf += size / 2;
     ps_dec->ps_dpb_mgr->ps_init_dpb[1][0] = (struct pic_buffer_t *)pu1_buf;
 
-    size = (sizeof(UWORD32) * 3
-                        * (MAX_FRAMES * MAX_FRAMES))
-                        << 3;
+    size = (sizeof(UWORD32) * 2 * 3
+                        * ((MAX_FRAMES << 1) * (MAX_FRAMES << 1)) * 2);
     pv_buf = pf_aligned_alloc(pv_mem_ctxt, 128, size);
     RETURN_IF((NULL == pv_buf), IV_FAIL);
     ps_dec->pu4_mbaff_wt_mat = pv_buf;