migration/vmstate: fix array of ptr with nullptrs