Use memory pool of thorium

This is to avoid allocate a separate memory for pami transport then have
to copy memory from pami transport to thorium.

Signed-off-by: Huy Bui <huybui@anl.gov>