[PATCH 6.18 058/312] octeontx2-pf: fix "UBSAN: shift-out-of-bounds error"