core: undefining ENABLE_DEBUG is no longer required
debug: removed superfluous additional debug flag
Merge pull request #2130 from OlegHahm/debug_cleanup

Debug cleanup