[PATCH v2 1/4] ntdll: Split logic for MemoryBasicInformation into a separate function.