Use -arch instead of -m32/-m64 when using LLVM toolchains.

This fixes building for iOS targets or any other non-x86 architectures,
with LLVM/Clang.

Change-Id: I8af3745080c6e678351dd7a117665fb9a8231bee
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>