[PATCH 2/2] d3d10/effect: Handle SetResource() called on null variable instance.