net/bnxt: fix packet type index calculation