Don't use C's memmove in `weakref` module.