Turbostat: fix thread max number detection