fix issue 11293 (locale enumeration for Windows, OS X, Linux, FreeBSD)

Add the missing LC_MESSAGES constant for Linux.

Fix the enumeration values for Windows and OS X, which were using Linux's values, incorrectly.