[PATCH] platform/x86: x86-android-tablets: Fix use after free on platform_device_register() errors