Add a '-d' debug flag for the Monte Carlo code.

Per a FIXME notice in montecarlo.c, replace the hardcoded mc_debug
variable with a DEBUG_MC flag for '-d'.