cray: add THORIUM_DEBUG with GNU

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