[3.0] d3d11_fmt: don't use TCHAR to read the driver version
Otherwise the logs are not correct. Just use the ANSI registry API as we don't use any non-ASCII character in the strings.
4.0 uses a more modern way to read driver versions which was introduced in Vista.
Edited by Steve Lhomme