Use FormatMessageW when targeting WinRT.