spapr: introduce helpers to migrate HPT chunks and the end marker