[PATCH 6.12 764/826] counter: stm32-timer-cnt: fix device_node handling in probe_encoder()