Driver core: fix race in dev_driver_string