thorium: remove platform-dependent code

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