thinkpad_acpi: fix possible NULL pointer dereference if kstrdup failed