[PATCH 6.1 0832/1146] rtc: class: Fix potential memleak in devm_rtc_allocate_device()