net/bnxt: add wrapper function for Thor device check