[PATCH openEuler-1.0-LTS 5/8] [Backport] timers: Silently ignore timers with a NULL function