Fix EZP-22239: When the preview siteaccess runs in legacy mode, it falls...

... back into ezpublish_legacy.default.view_default_layout

https://jira.ez.no/browse/EZP-22239

In #662, legacy_mode wasn't taken into account.