Fix vp10 txfm on MSVC 2015.

BUG=https://bugs.chromium.org/p/webm/issues/detail?id=1187

Change-Id: Ied6d3d003ed6ab9cf4f03cdd1d0037ae755254f4
diff --git a/vp10/common/x86/vp10_txfm1d_sse4.h b/vp10/common/x86/vp10_txfm1d_sse4.h
index 803b86d..86ab660 100644
--- a/vp10/common/x86/vp10_txfm1d_sse4.h
+++ b/vp10/common/x86/vp10_txfm1d_sse4.h
@@ -81,33 +81,32 @@
   }
 }
 
-#define round_shift_32_sse4_1(vec, bit)     \
-  ({                                        \
-    __m128i tmp, round;                     \
-    round = _mm_set1_epi32(1 << (bit - 1)); \
-    tmp = _mm_add_epi32(vec, round);        \
-    _mm_srai_epi32(tmp, bit);               \
-  })
+static INLINE __m128i round_shift_32_sse4_1(__m128i vec, int bit) {
+  __m128i tmp, round;
+  round = _mm_set1_epi32(1 << (bit - 1));
+  tmp = _mm_add_epi32(vec, round);
+  return _mm_srai_epi32(tmp, bit);
+}
 
-#define round_shift_array_32_sse4_1(input, output, size, bit) \
-  ({                                                          \
-    if (bit > 0) {                                            \
-      int i;                                                  \
-      for (i = 0; i < size; i++) {                            \
-        output[i] = round_shift_32_sse4_1(input[i], bit);     \
-      }                                                       \
-    } else {                                                  \
-      int i;                                                  \
-      for (i = 0; i < size; i++) {                            \
-        output[i] = _mm_slli_epi32(input[i], -bit);           \
-      }                                                       \
-    }                                                         \
-  })
+static INLINE void round_shift_array_32_sse4_1(__m128i *input, __m128i *output,
+                                               const int size, const int bit) {
+  if (bit > 0) {
+    int i;
+    for (i = 0; i < size; i++) {
+      output[i] = round_shift_32_sse4_1(input[i], bit);
+    }
+  } else {
+    int i;
+    for (i = 0; i < size; i++) {
+      output[i] = _mm_slli_epi32(input[i], -bit);
+    }
+  }
+}
 
 // out0 = in0*w0 + in1*w1
 // out1 = -in1*w0 + in0*w1
 #define btf_32_sse4_1_type0(w0, w1, in0, in1, out0, out1, bit) \
-  ({                                                           \
+  do {                                                         \
     __m128i ww0, ww1, in0_w0, in1_w1, in0_w1, in1_w0;          \
     ww0 = _mm_set1_epi32(w0);                                  \
     ww1 = _mm_set1_epi32(w1);                                  \
@@ -119,12 +118,12 @@
     in1_w0 = _mm_mullo_epi32(in1, ww0);                        \
     out1 = _mm_sub_epi32(in0_w1, in1_w0);                      \
     out1 = round_shift_32_sse4_1(out1, bit);                   \
-  })
+  } while (0)
 
 // out0 = in0*w0 + in1*w1
 // out1 = in1*w0 - in0*w1
 #define btf_32_sse4_1_type1(w0, w1, in0, in1, out0, out1, bit) \
-  ({                                                           \
+  do {                                                         \
     __m128i ww0, ww1, in0_w0, in1_w1, in0_w1, in1_w0;          \
     ww0 = _mm_set1_epi32(w0);                                  \
     ww1 = _mm_set1_epi32(w1);                                  \
@@ -136,7 +135,7 @@
     in1_w0 = _mm_mullo_epi32(in1, ww0);                        \
     out1 = _mm_sub_epi32(in1_w0, in0_w1);                      \
     out1 = round_shift_32_sse4_1(out1, bit);                   \
-  })
+  } while (0)
 
 #ifdef __cplusplus
 }