wined3d: Return early from shader_trace_init() when a NULL pFunction is passed. This is mainly to reduce the size and indentation level of the if-block.