Implement Vulkan API for reading the display's size

Implement the Vulkan API --
vkGetPhysicalDeviceSurfacePresentModesKHR() -- in terms of the Magma
public API.

Note that the vkcube demo already uses that Vulkan API, so it will
start using the actual display size (rather than a default) after this
change.

This is a reland of 3fa9877324791bdeb56bcf3d4e0cb8a57ec2e0e7 now that
the bad interaction between vkCreateMagmaSurfaceKHR() and
vulkan_loader_and_validation_layers has been fixed by other changes.

MA-214

Change-Id: Ic0431ac8a1193b110768ef33bee378885cf6e7ad
5 files changed