Align more restoration work buffers

Fixes crashes on x86-win32-vs14 build

Change-Id: I045dd0fe4e9af3bfb80223e291617b717cbcb231
diff --git a/aom_dsp/x86/aom_highbd_convolve_hip_ssse3.c b/aom_dsp/x86/aom_highbd_convolve_hip_ssse3.c
index 74ce80e..5bf6743 100644
--- a/aom_dsp/x86/aom_highbd_convolve_hip_ssse3.c
+++ b/aom_dsp/x86/aom_highbd_convolve_hip_ssse3.c
@@ -34,7 +34,8 @@
   const uint16_t *const src = CONVERT_TO_SHORTPTR(src8);
   uint16_t *const dst = CONVERT_TO_SHORTPTR(dst8);
 
-  uint16_t temp[(MAX_SB_SIZE + SUBPEL_TAPS - 1) * MAX_SB_SIZE];
+  DECLARE_ALIGNED(16, uint16_t,
+                  temp[(MAX_SB_SIZE + SUBPEL_TAPS - 1) * MAX_SB_SIZE]);
   int intermediate_height = h + SUBPEL_TAPS - 1;
   int i, j;
   const int center_tap = ((SUBPEL_TAPS - 1) / 2);
diff --git a/av1/common/x86/selfguided_sse4.c b/av1/common/x86/selfguided_sse4.c
index c5c1f1f..21cc39e 100644
--- a/av1/common/x86/selfguided_sse4.c
+++ b/av1/common/x86/selfguided_sse4.c
@@ -1375,10 +1375,10 @@
                                               int height, int dgd_stride,
                                               int32_t *dst, int dst_stride,
                                               int bit_depth, int r, int eps) {
+  DECLARE_ALIGNED(16, int32_t, A_[RESTORATION_PROC_UNIT_PELS]);
+  DECLARE_ALIGNED(16, int32_t, B_[RESTORATION_PROC_UNIT_PELS]);
   const int width_ext = width + 2 * SGRPROJ_BORDER_HORZ;
   const int height_ext = height + 2 * SGRPROJ_BORDER_VERT;
-  int32_t A_[RESTORATION_PROC_UNIT_PELS];
-  int32_t B_[RESTORATION_PROC_UNIT_PELS];
   int32_t *A = A_;
   int32_t *B = B_;
   int i, j;