divrem: avoid warning from importing non-existent function.

This also provides a generic default implementation of divrem that
just calls div and rem on the given arguments.