[PATCH 1/2] advpack: Don't use sizeof to calculate the length of a WCHAR string