thorium: avoid going through node when destination actor is on the same worker

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