Set I18n.enforce_available_locales correctly

This setting is only available for I18n v0.6.9, so setting it for all
versions of Rails or I18n versions may not work.