test:cbor: supress warnings about nan/infty
Merge pull request #1688 from N8Fear/naninarith

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