net/bnxt: fix ring and context memory allocation