Driver core: fix race in __device_release_driver