t/parse.t: Handle systems without setlocale/LC_ALL

The subject says it all, really :) Like other similar patches, this came up when smoking CPAN on Android.