Fix incorrect locale pref reading

Sample code: https://developer.mozilla.org/en-US/Add-ons/SDK/Low-Level_APIs/preferences_service#getLocalized%28name.2C_defaultValue%29