CVE-2025-37800 driver core: fix potential NULL pointer dereference in dev_uevent()