[SP] Merge minor optimization for primitive types in FX code from MP.
[MP] Use size_t not unsigned int in FxScheduler.cpp.
[JK2SP] Merge minor optimization for primitive types in FX code from MP.