ide: fix migration in the middle of a bmdma transfer