net/octeontx2: fix packet type get overflow