mempool: deprecate xmem functions