Threading: simplify couple of method calls to ThreadAssist class

ProxyToMain() and SpawnFromMain() already check .InMainThread
so this simplification does not mean only less code (as it uses
lambdas instead of delegates, too), but also a micro-optimization.