fix compilation with no CFG_DEBUG_ENABLED

Signed-off-by: Michael Walle <michael@walle.cc>