Fixes issue dotnet/coreclr#21485 and dotnet/coreclr#21484 (dotnet/coreclr#21526)
Issue dotnet/coreclr#21485: fix EnumProcessModules hPseudoCurrentProcess bug.
Added handle reference.
Issue dotnet/coreclr#21484: createdump segfaults with ASP.NET app
The problem is the ClrDataModule Request faulted on a dynamic module
getting the file layout flag.
Fixed the Request code not get the file layout and in the crash dump
code skip any dynamic modules.
Commit migrated from https://github.com/dotnet/coreclr/commit/
a6403ba4d9187fc19af8e3dc64ec3e9e937d53eb