x86[_64]: Do not return too soon from detectCPUTopology()
x86[_64]: Set level shift by counting bits in mask