[PATCH 3/4] kernelbase: Use wcsnlen().