print debug out only when DEBUG is set

I personally think we coun't print more to stdout than the disc ID without breaking tools using image-id.

However, we should probably make the stderr output less verbose.
This removes messages that are mostly interesting for debugging.
They can be re-enabled by setting `#define DEBUG 1`.