crypt32: Fix potential buffer overruns in CertGetNameStringW.