vk10: Be a bit more flexible with number of images
vk10: Be a bit more flexible with number of images

The WSI may want to return more or less than NUM_IMAGES, so save the
number into num_images. We still cap it at NUM_IMAGES due to some
other assumptions, but we then have to ignore some images returned
from vkAcquireNextImageKHR if the index is too large.

Signed-off-by: Jordan Justen <ab3d56373f2461770fa8feb620844a5acfe35e29@gmail.com>

gears3d/gears3d,gears3d/gears3d