Thanks to Rémi Bernon for mentioning in !5814 the new test failure, which spurred the first patch of this MR. Then one thing led to another and somehow this whole MR happened...
-- v3: d3dcompiler/tests: Add d3dcompiler_42 tests. d3dcompiler: Fix a few version-dependent error returns in D3DReflect(). d3dx9/tests: Add d3dx9_42 tests. d3dx9_42: Generate an import library.