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, OS X and FreeBSD,
which were using Linux's values, incorrectly.