net/bnxt: move Tx bd checking to header file