[PATCH 1/2] ntdll: Copy the correct number of bytes with RTL_QUERY_REGISTRY_DIRECT.