hw/ide/core.c: Prevent SIGSEGV during migration