uv_spawn: translate CreateProcessW errors

We weren't translating errors for CreateProcessW.
I also reorganized the code a little to make it easier to read.
This is half a fix for node's unit test test-child-process-cwd.js on win.
The rest will go into node lib.