aux/ogl: Add a function to compute the texture target and binding enum for a given swapchain image creation info.