Memory-leak fix and code formatting in winexec.c

Frees the orig variable in the path_split function and formats the code in a more msysgit style.

Signed-off-by: johnstevenson <john-stevenson@blueyonder.co.uk>