platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors (CVE-2024-49986) | HOL Guard CVE