[PATCH 6.0 0784/1073] rtc: class: Fix potential memleak in devm_rtc_allocate_device()