OP-943 add missing pios_mem.c from previous commit