TRingBuffer::ConvertPointerToIndex

Given a pointer to an Element anywhere in memory, return the index of the element in the RingBuffer, or INDEX_NONE if it is not present.