mnt: Factor out mntns nsid creation on restore

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>