Function gimp_get_default_unit ported for Windows using standard GetLocaleInfo() function (from windows.h). (cherry picked from commit 194ef70d)