d3d9: Replace color_near() with color_match().