CiviCRM 4.7.4 (Joomla version) contains Drupal version of civicrm.config.php
It does look like Joomla should be excluded from having civicrm.config.php generated for it. So you might try moving that file away from the directory it's in - keep a backup in case! - and see if Joomla "comes right".

If this fixes the problem for you, the issue should be reported to the CiviCRM bugtracker @ https://issues.civicrm.org/

You might also look back at older CiviCRM downloads (eg Joomla for 4.6.10) and see if the civicrm.config.php was recently added to the Joomla zip.