Hide util.dprint() calls behind util.debug.

Even if util.debug is 0, functions used as arguments to util.dprint() still are
executed, causing unnecessary delays. Making the whole call of util.dprint()
conditional on util.debug prevents this.