[SPARK-3758] [Windows] Wrong EOL character in *.cmd

Windows platform expects the EOL characters are CRLF but in *.cmd except for compute-classpath.cmd, the EOL characters are LF.
To avoid unexpected problem, we should replace LF with CRLF in *.cmd.
Thanks for check this up @pwendell !
Generalize means, make the script for checking style *.sh / *.cmd / *.bat right?