imsm: add support for checkpointing via 'curr_migr_unit'