pios: replaced all occurrences of malloc with pvPortMalloc
test logfs: replaced malloc with pvPortMalloc