Use __forceinline for wcsnlen_s implementation.