net/nfp: fix potential integer overflow