Make sure to honour MAGIC_DEBUG flag and don't suppress standard error output.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>