[ticket/12026] Correct path for template files

Correct path for template files in MCP and UCP modules, which are added
via extenstions

PHPBB3-12026