Update DebugPanel.php

cakephp 3.0 EventListener deprecated