Do not execute legacy pagelayout when using eZ5 one

Complements https://github.com/ezsystems/ezpublish-legacy/pull/668