[PATCH v3 6/7] wined3d: Introduce wined3d_gl_get_internal_format().