net/octeontx: fix dangling pointer on init failure