cli/pickle: Use long as base class for unpicle.Pointer.

So that it can represent integers longer than C long type, which is
32bits on Windows.

Fixes #308.