Handle cross compile for locale configuration

Make gdb-7.11/gdb/gnulib/configure always check cross_compiling.
Four locale checks were running executables to discover that.
Running android executables on linux can hang a build.

Test: ./checkbuild.py on linux x86
Bug: http://b/31347799
Change-Id: I3ca8977eb4b226c74c9d822033c733314cd7ed59
diff --git a/gdb-7.11/gdb/gnulib/configure b/gdb-7.11/gdb/gnulib/configure
index 540bad3..e8e2da2 100644
--- a/gdb-7.11/gdb/gnulib/configure
+++ b/gdb-7.11/gdb/gnulib/configure
@@ -10133,6 +10133,8 @@
 $as_echo_n "checking for a traditional japanese locale... " >&6; }
 if test "${gt_cv_locale_ja+set}" = set; then :
   $as_echo_n "(cached) " >&6
+elif test "$cross_compiling" = yes; then :
+  gt_cv_locale_ja=none
 else
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10272,6 +10274,8 @@
 $as_echo_n "checking for a transitional chinese locale... " >&6; }
 if test "${gt_cv_locale_zh_CN+set}" = set; then :
   $as_echo_n "(cached) " >&6
+elif test "$cross_compiling" = yes; then :
+  gt_cv_locale_zh_CN=none
 else
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10404,6 +10408,8 @@
 $as_echo_n "checking for a french Unicode locale... " >&6; }
 if test "${gt_cv_locale_fr_utf8+set}" = set; then :
   $as_echo_n "(cached) " >&6
+elif test "$cross_compiling" = yes; then :
+  gt_cv_locale_fr_utf8=none
 else
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -10533,6 +10539,8 @@
 $as_echo_n "checking for a traditional french locale... " >&6; }
 if test "${gt_cv_locale_fr+set}" = set; then :
   $as_echo_n "(cached) " >&6
+elif test "$cross_compiling" = yes; then :
+  gt_cv_locale_fr=none
 else
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext