libc: Add a wide version of snprintf_test.
Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41726