Hide debug toolbar when media = print

fix https://github.com/yiisoft/yii2/issues/3050