pan/mdg: Remove use of global variables in disassembler

Fixes incorrect disassembly and crashes when disassembling from
multiple threads at once.
74 jobs for !12928 with deterministic in 7 seconds (queued for 10 seconds)
latest merge request