Fixed minor bug and removed unused #defines

Signed-off-by: Olli Vanhoja <olli.vanhoja@ninjaware.fi>
Implemented void osGetLoadAvg(uint32_t loads[3]) syscall for getting load averages.

Signed-off-by: Olli Vanhoja <olli.vanhoja@ninjaware.fi>