privateenv.c: Remove unused variable warning
schedulerpriorityaffinitysmp.h: Fix compilation error introduced by recent changes