thorium: use binary heap in message multiplexer

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>