EZP-20992: Fix wrong scope in contentViewGenerateError when using DFS and user-permissions

This patch fixes the issue that a wrong scope is used when generating view caches for error pages (`UNKNOWN_SCOPE` instead of `viewcache`).

Please see the [corresponding JIRA issue](https://jira.ez.no/browse/EZP-20992) for more detailed information.