add DPRINTF type checking for no-debug builds