Update layout.php

The Megamenu was always rendering mainmenu, now renders what admin has choosen in template Megamenu administration.