parser-helper: Define debug macros depending on DEBUG_LEVEL