fix for loading custom favicon

when the file is called favicon.ico Joomla! load this as favicon after
template code, in result head entry is duplicated and template setting
is not working.