Optimise Int.__divmod__ for negative inputs.

Rather than switching the behaviour of divmod for negative inputs, run
divmod on the positive analogue and then negate before returning.