fix `syntax-local-submodules' in `expand' mode
fix context for `#%module-begin' form in a submodule
fix `syntax-local-module-exports' for submodules in expand mode
Windows: propagate system error text even with format commands

For example, error 193 now says "%1 is not a valid Win32 application.",
which is ugly but better than "Unknown error".