Fix build on mingw

* add getnameinfo.c to Makefile.mingw
* define WSAPOLLFD on mingw
* call getnameinfo if GetNameInfo is not defined, and it out localized characters, so convert to wide characters.
* define COMMON_LVB_REVERSE_VIDEO if not defined