winpr-thread: fixed bugs in _CreateProcessExA

* don't run fork/exec if the command isn't found
* return from forked process with exit
Merge pull request #1611 from bmiklautz/createProcess

winpr-thread: fixed bugs in _CreateProcessExA