Remove include os_unix.h from buffer.c
Refactor os specific modules

- Move mingw defines into separate file
- Create os_mingw.c/h to hold mch_* functions
- Remove direct includes for os_unix.h, including
  vim.h is enough
Add missing mingw defines