Fix call of getPageLayout for Contao 3.

In Contao 3, the method getPageLayout expect a PageModel object, not a
layout ID.