[PATCH 2/4] ntdll: Calculate buffer sizes from registry structs correctly.