driver core: bus: Fix double free in driver API bus_register() (CVE-2024-50055) | HOL Guard CVE