Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()

Nothing in the MSDN API says that setting NULL is safe. And if the
implementation uses WriteFile directly, it crashes.
Merge pull request #1873 from hardening/WTSVirtualChannelWriteCallers

Don't use NULL for pWrittenBytes when calling WTSVirtualChannelWrite()