build: On Linux use processor pattern for /proc/cpuinfo

This fixes incorrect core counts on ARM. Verified behavior on
Linux PPC, ARM, x86. SPARC verification pending.