[PATCH 4.9 186/245] misc/libmasm/module: Fix two use after free in ibmasm_init_one