mem: add share parameter to memory-backend-ram