force non thumb build if necessary on ARM

This fixes the ARM build on recent Debian armhf (and possibly other) systems that default to thumb2 instruction set for ARM gcc. NetBSD does not currently compile in thumb mode, at least the assembly would need to be fixed. This leaves thumb interop on, so it can still be linked to thumb binaries...