Fix reset & setLocServicesPrefs interop

* same approach as with Safari prefs
Merge pull request #2070 from dandoveralba/fix-locale

Fix reset & setPreferences & setLocServicesPrefs interop