Add debug macro enabled by MTPC_DEBUG environment variable.

Add a macro mtpc_debug() that is enabled by the environment variable
MTPC_DEBUG. Using this is device probing as well.