Nikolay Sivov : d3d8: Fix token type checks in convert_to_wined3d_declaration (Coverity).