Define CMake project as C only

- This avoids checking for a working C++ compiler when running CMake
LibIntl/Gettext is REQUIRED on windows
FIXME: Do we really need to check for pthreads?
Revert LOCALE_H comment in config
Remove char_u casts
Add mingw defines for exrc and vimrc