cmake: simplify use of ENABLE_ASSEMBLY build define

The define is only needed in primitives.cpp.  Move all of the CPU detect
fallback code together in primitives.cpp making cpu.cpp more standalone.  Make
the testbench only build if the assembly code is enabled.
testbench: remove long-since idiotic comment