ExAllocatePoolWithTag has been deprecated in Windows 10 version 2004.
Starting with EWDK 11 22H2, using ExAllocatePoolWithTag causes a warning,
which is treated as an error.
EWDK suggests replacing ExAllocatePoolWithTag on ExAllocatePool2,
but ExAllocatePool2 only works on Windows 10 2004 and above.
This commit replaced this function with ExAllocatePoolUninitialized
to support Windows 10 2004 and below.
All of these features first appeared in WDK 2004.
Fixes for https://bugzilla.redhat.com/show_bug.cgi?id=2138115
Signed-off-by: Kostiantyn Kostiuk <[email protected]>