This macro is intended to be used within the source or sink
functions associated with a Channel. It returns any pointer
previously stored in the Channel (that is, the Channel that has
invoked the source or sink function) using astPutChannelData.
This mechanism is a thread-safe alternative to passing file
descriptors, etc, via static global variables.