d3dx9/tests: Get rid of a redundant NULL check in test_effect_states().