[Bug 37556] CompareStringW should abort on the first nonmatching character to avoid invalid memory access.