Fix wxThread::GetCPUCount() usage bug