xen: Fixes to mem_event struct clean-up