Fixed CURAND wrapper to work with capsules.
The capsule API destructor gets passed a pointer to the capsule, not the
underlying C object as in the old PyCObject API.
Removed unnecessary defines.