Fixed vsnwprintf implementation.