fix crash of wcscat_s, memory overwritten.