wined3d: Copy the module handle to a local variable in wined3d_cs_run().