Fix memleak in x86.cs using the iter api

- Remove unused custom alloc code
- Call plugin destructor in RAsm fini method