use ephemeral memory for buffers in receive functions

Link: https://github.com/GeneAssembly/biosal/issues/374
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>