Call feenableexcept() after InitGoogleTest()

Avoid a SIGFPE (division by zero) inside ::testing::InitGoogleTest() in
the msan build in Google's internal repository.

Bug: aomedia:3399
Change-Id: Idfc3bbad03832b35fb297b5c5e1c361ded0df0c0
diff --git a/test/test_libaom.cc b/test/test_libaom.cc
index 8556aa5..9a5f40d 100644
--- a/test/test_libaom.cc
+++ b/test/test_libaom.cc
@@ -50,6 +50,8 @@
 #endif  // ARCH_X86 || ARCH_X86_64
 
 int main(int argc, char **argv) {
+  ::testing::InitGoogleTest(&argc, argv);
+
 #if HAVE_FEXCEPT
   const int excepts = FE_DIVBYZERO;
   if (feenableexcept(excepts) == -1) {
@@ -58,8 +60,6 @@
   }
 #endif
 
-  ::testing::InitGoogleTest(&argc, argv);
-
 #if ARCH_X86 || ARCH_X86_64
   const int simd_caps = x86_simd_caps();
   if (!(simd_caps & HAS_MMX)) append_negative_gtest_filter("MMX");