Fix crash in Decompiler from reentrant code.

Not sure why this happens, or exact crash, but this CriticalSection is a patch for now.
Works better in BF4.