std: add a twos-complement fn back to ints and uints

We lost int::compl back in 1aae28a57d42bfd56e0838ddee0a44605922d655. This patch brings it back by adding a `compl` method to std::num::Bitwise.