GetSystemThreadCount reports wrongly 128 in Lubuntu 24
* Lazarus/FPC Version: <Lazarus 4.99 (rev main_4_99-1954-g0dfc1da04c) FPC 3.2.2 x86_64-linux-gtk2> <!-- (Copy from Menu -> Help -> About Lazarus -> Button "Copy version information to clipboard") -->
* Operating System: <Linux>
* CPU / Bitness: <64> <!-- (64 or 32 Bit?) -->
## What happens
<The function GetSystemThreadCount report wrongly 128 cpu's in Lubuntu 24. It work for Lubuntu 22 but not for Lubuntu 24. See sample project. Note I'm running Linux in a VMware virtual machines.>
## What did you expect
<Correct number of CPU reported>
## Steps to reproduce
<Use attached sample project>
[sampleproject4.tar.gz](/uploads/38ecb42ec0a2292f7676bd8dfadf0341/sampleproject4.tar.gz)
issue