net/bnxt: fix calculation of number of pools