change signature of helper to be explicit about pointer

To ensure that anyone reading the code, realizes that the first argument of the
helper should be an address, we change the type from 'unsigned int' to 'void
*'. This also means the cast from 'unsigned long' (or whatever type it ends up
being) to 'void *' happens only in the 'compress_ptr' function.