Fix some createdump issues (#40687)
Fix some createdump issues
Fix still generating dump with COMPlus_DbgEnableMiniDump=0 on Windows
Start adding coredump pattern to dump names. Supported format characters:
%% A single % character.
%d PID of dumped process (for backwards createdump compatibility).
%p PID of dumped process.
%P PID of dumped process.
%e The process executable filename.
%E The process executable filename.
%h Hostname return by gethostname().
%t Time of dump, expressed as seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).