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`.