kernel32: Strip modifiers from the Mac locale so setlocale can parse it.