[PATCH v4 4/7] wined3d: Pass a wined3d_adapter to profile enumeration functions.