Use the correct format specifiers for wide characters and strings of wide
characters.

MFC after:	1 week
Replace a few Solarisisms with their corresponding FreeBSDisms to make a few
printf tests pass.