monitor: Check whether TCG is enabled before running the "info jit" code