event/octeontx2: add device stop and close functions