Implemented i386 and multiarch support for GCC/Clang builds.

Also implemented an x86 version of memhash for use with the GNU
assembler, and removed the old memhash32/memhash64 functions.

The configuration and tundra build scripts have many improvements
to make it easier to add additional architectures and cross-
compilation targets in the future.