[PATCH 6.12 040/116] devlink: fix xa_alloc_cyclic() error handling