Fix constant during 4.1 upgrade
CRM_Core_Resources - Don't access settings during upgrade mode. (Fix for upgrades from 4.0.0 to 4.3.x.)