qemu: add cpu_unregister_io_memory and make io mem table index dynamic (Marcelo Tosatti)