[PATCH openEuler-5.10 377/557] habanalabs: Add check for pci_enable_device