BoxedHandleManager: fix corner case where there is no replay handles

Test: launch vulkan app, destroy it; save snapshot; load
it should not crash during dequeue empty queue

Change-Id: I4b461c84d2274c1e908a02db01bebb92b8988e1a
diff --git a/host/vulkan/VulkanBoxedHandles.cpp b/host/vulkan/VulkanBoxedHandles.cpp
index a7380cc..9ff8b47 100644
--- a/host/vulkan/VulkanBoxedHandles.cpp
+++ b/host/vulkan/VulkanBoxedHandles.cpp
@@ -50,11 +50,11 @@
 }  // namespace
 
 void BoxedHandleManager::replayHandles(std::vector<BoxedHandle> handles) {
-    mHandleReplay = true;
     mHandleReplayQueue.clear();
     for (BoxedHandle handle : handles) {
         mHandleReplayQueue.push_back(handle);
     }
+    mHandleReplay = !mHandleReplayQueue.empty();
 }
 
 void BoxedHandleManager::clear() {