Remove duplicate path in JLayoutFile

Fixes https://github.com/joomla/joomla-cms/issues/4097