[PATCH 6.1 056/197] driver core: fw_devlink: Improve detection of overlapping cycles