ACPI / Battery: Resolve the race condition in the sysfs_remove_battery()