We have a C23 stdckdint.h header for userspace, which provides checked
addition, subtraction and multiplication. We lack similar helpers in
the kernel, where they are regularly needed.
Let's just adopt the C23 macros. For bonus points, I added a wrapper to
ensure that ignored an return value is raised as an error by the
compiler. I also converted a couple of places in the kernel to use the
new macros. The netmap change in particular fixes a bug in my commit
319414a926af1515e2572f89f0636e5505e762d5.