sm: add xpmem support

If available, use xpmem for RMA to reduce copies.