core: use CONFIG_DEBUG and not THORIUM_DEBUG

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
scripts: the argument -I. is not needed anymore

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
performance: fix option in latency_probe

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