lua: subprocess: move to osdep/subprocess.c

It was getting pretty big, especially the Windows-specific code.