layers: #1522 #1523 Fix VK_REMAINING_* resolve
layers: #1522 #1523 Fix VK_REMAINING_* resolve

ResolveRemainingLevelsLayers() modified a copy instead of the live data.
Fixes issues #1522 and #1523

KhronosGroup/Vulkan-LoaderAndValidationLayers,KhronosGroup/Vulkan-LoaderAndValidationLayers,KhronosGroup/Vulkan-LoaderAndValidationLayers,KhronosGroup/Vulkan-LoaderAndValidationLayers