This topic has nothing to do with Macos, FMX, Spring4D, Kastri or whatsever.
This error was caused by a region, which was a leftover from Copy-Paste code from Windows, which I shouldn't do in the first place.
The Region
{$REGION 'Windows helper functions'}
function SetThreadExecutionState(esFlags: EXECUTION_STATE): EXECUTION_STATE; stdcall; external 'kernel32.dll';
was hiding this Windows-Kernel related kernel reference, which was never used anywhere, but this one line never showed up as an error at this point.
This tells me, that using regions to hide code, may also hide code to spot obvious failures sometimes.