net: bnxt: fix a potential use-after-free in bnxt_init_tc