'parseDeclsWith' runs parser with appropriate 'cfgModuleScope' flag

In layout mode, setting cfgModuleScope to true ensures that the lexer
will generate virtual open/close braces and virtual semicolons between
decls.

This is a follow-up to c689a15cfcf9d0037907f3992dc28b7d72aa8767.