drivers/rtc/rtc-test.c: avoid calling platform_device_put() twice