[PATCH 6.12 324/567] octeontx2-pf: fix "UBSAN: shift-out-of-bounds error"