Prevent multi-thread crash in Decompiler with CriticalSection.

This is just a patch, the underlying cause is not understood.
But, this patch prevents the Decompiler from crashing in the game Mordor.