When vm_checkpoint() encounters errors on some of its early operations,
it jumps to "done" before calling vm_vcpu_pause(). In "done", it
calls vm_vcpu_resume() even though vCPUs were not paused, which leads
to a failure.
Fix by resuming vCPUs only if they were paused.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation