[PULL 31/39] migration: Improve example and documentation of vmstate_register()