[PATCH 1/2] virLockSpacePreExecRestart: Avoid use-after-free