memguard: code restructured in order to build properly with all the MemGuard framework included in the freeRTOS