[PATCH 3/5] d3d10: Move private effect functions to effect.c.