[config] improve cputype detection

set proper amd64 on darwin with Intel Core cpu.
fix the _parse_cpuinfo() call in auto::arch
honor simple -m64/-m32 with x86