Make external reference (CoreSettings *g_core_settings) const

To avoid out-of-sync issues; to change a setting the g_settings->set..() functions must be used