lint: supress warnings about nan/infty in arithmetics in the CBOR unit tests

Since nan/infinity are wanted inside the unittests, this PR supresses the `cppcheck` warnings about them.