Re-apply change #37544 from Open Watcom site

Replaced int86x() call with 5 instructions of inline assembly in order to save over 1KB for DOS executables which use spawn/exec functions (and do not themselves use int86()/int86x()).