[PATCH 5/6] d3dcompiler: Also check the type class when checking for void.