Add materializations to the conversion pass, such that types of non-converted operands are legalized.
This patch adds check for unsupported types in emitc, which fixes a crash. Fix #103706.
This converts `memref.alloca`, `memref.load` & `memref.store` to `emitc.variable`, `emitc.subscript` and `emitc.assign`.