[sr-dev] git:4.2: core: xavp: Fix xavp_insert to prevent corrupted linked lists