[PATCH 4/5] wined3d: Share common code between wined3d_adapter_init() and wined3d_adapter_no3d_init().