Fix localeStorage class and unit test to pass when Jint is compiled in iOS and WINDOWS mode

Fix localeStorage class and unit test to pass when Jint is compiled in
iOS and WINDOWS mode