[ticket/13266] Enabling twig dump function if DEBUG is defined

[PHPBB3-13266](https://tracker.phpbb.com/browse/PHPBB3-13266)