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