[PATCH 5.12 112/384] clocksource/drivers/dw_apb_timer_of: Add handling for potential memory leak