[PATCH 6/6] d3d10/effect: Discard some of the shader metadata when optimizing an effect.