Fix pool use-after-free in asm_gen
Fix pool use-after-free in asm_gen

ir_global->name is allocated in the TU pool, so we can't hold any
references to it in the AsmModule pool.

orodley/naive,orodley/naive,orodley/naive,orodley/naive