d3d10: Release sampler state references in d3d10_effect_variable_destroy().