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
1 file changed
tree: 5591c5c2e71f8c3243790bfdeccfe5e7c1b0ca4e
  1. gdb-7.11/
  2. build-gdb.sh
  3. build.py