Return appropriate error code in acquire_next_image
Fixes an issue, where acquire_next_image was always returning VK_ERROR_OUT_OF_HOST_MEMORY when the swapchain had gone into a faulty state.
Change-Id: Iafe016e4e31158d1a5f0d6d785f60d6a724c62ab Signed-off-by: Iason Paraskevopoulos iason.paraskevopoulos@arm.com