net/bnxt: fix possible stack smashing