MinGW: Eliminate dependency on winpthread.

kernel32.dll and msvcrt.dll are the only remaining dependencies.
Merge branch 'master' of github.com:kentonv/capnproto