[sr-dev] git:master:a7812ed9: mem: reintroduced the option to use system malloc if PKG_MALLOC is not defined