getpathp.c: fix compiler warning

wcsnlen_s() result type is size_t.
1 file changed