Add conditional to check for 'theme_get_setting'

Add conditional to check for 'theme_get_setting'; this function isn't available until Drupal bootstraps, but because utils.inc is included in a chain of dependencies in a drush file, drush fails when trying to run basic commands on our travis server. This patch fixes that issue.