Add Unicode support to msys-core

This ports in Karsten Blees' Unicode patches, and makes a few minor
changes to build within mingwport.  The resulting msys-1.0.dll is
able to properly handle Unicode characters -- it is possible to
rebuild msys-bash after, but doesn't appear to be necessary.

Signed-off-by: Doug Kelly <dougk.ff7@gmail.com>