migration: Fix parse_ramblock() on overwritten retvals