[SPARK-3167] Handle special driver configs in Windows

This is an effort to bring the Windows scripts up to speed after recent splashing changes in #1845.
The `!VAR_NAME!` syntax is explained here: https://github.com/andrewor14/spark/commit/72004c2b6bd502244cb1e9e055d26bd1f064ce5a